Setting up an ftp server->Error: Server refused FTP over TLS

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
Trugoras
500 Command not understood
Posts: 4
Joined: 2016-05-11 07:11
First name: Maurits
Last name: Groen

Setting up an ftp server->Error: Server refused FTP over TLS

#1 Post by Trugoras » 2016-05-11 07:32

Hey Guys i'm trying to set-up an server and gone through the network configuration page but still not working. Obviously i'm doing something wrong but i can't figure out what. I have added filezilla to firewall exception (later just turn the firewall off) i have forwarded ports in my NAT router to my computer and i believe the options in filezilla are correct. I'll attach some files to show the settings btw, hope you guys can help.

Test log
Status: Resolving address of GreenMachine
Status: Connecting to 213.133.34.52
Warning: The entered address does not resolve to an IPv6 address.
Status: Connected, waiting for welcome message...
Reply: 220 Microsoft FTP Service
Command: CLNT https://ftptest.net on behalf of 2001:982:91d4:1:5959:68d7:5d6:5549
Reply: 500 'CLNT https://ftptest.net on behalf of 2001:982:91d4:1:5959:68d7:5d6:5549': command not understood.
Command: AUTH TLS
Reply: 534 Local policy on server does not allow TLS secure connections.
Warning: Server refused AUTH TLS, trying deprecated AUTH SSL fallback.
Command: AUTH SSL
Reply: 534 Local policy on server does not allow TLS secure connections.
Error: Server refused FTP over TLS
Attachments
settings in filezilla
settings in filezilla
FileZilla ftp options.jpg (314.02 KiB) Viewed 9721 times
port forwarding in router
port forwarding in router
FileZilla ftp.jpg (154.11 KiB) Viewed 9721 times

User avatar
boco
Contributor
Posts: 26914
Joined: 2006-05-01 03:28
Location: Germany

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#2 Post by boco » 2016-05-11 12:50

Reply: 220 Microsoft FTP Service
You're not doing anything wrong, but you have a rogue FTP server on your machine (Microsoft IIS). If you do not use IIS you need to remove the IIS Windows component from the Control Panel.
2016-05-11 14_43_21-IIS_FTP_Windows_Component.png
2016-05-11 14_43_21-IIS_FTP_Windows_Component.png (77.46 KiB) Viewed 9706 times
Failed to bind the listen socket on port 21 to the following IPs: ::0 0.0.0.0
Do you see that in your server log?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Trugoras
500 Command not understood
Posts: 4
Joined: 2016-05-11 07:11
First name: Maurits
Last name: Groen

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#3 Post by Trugoras » 2016-05-11 13:42

Hmm i havn't seen that text just shows me:
FileZilla Server 0.9.57 beta
Copyright 2001-2016 by Tim Kosse (tim.kosse@filezilla-project.org)
https://filezilla-project.org/
Connecting to server localhost:14147...
Connected, waiting for authentication
Logged on

Could be the features my World wide web feature is on while its off on your picture. About the Microsoft server, i never used it to my knowledge and have no idea why it is on my pc.
Attachments
ftp server windows features 2.jpg
ftp server windows features 2.jpg (60.08 KiB) Viewed 9701 times
ftp-server windows features.jpg
ftp-server windows features.jpg (172.43 KiB) Viewed 9703 times

User avatar
boco
Contributor
Posts: 26914
Joined: 2006-05-01 03:28
Location: Germany

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#4 Post by boco » 2016-05-11 15:46

How did you determine your public IP address? Is the address/IP used with the tester really yours? There's clearly an MS FTP server answering the call...

Alternatively, you could be behind an IPv6 transition technique like DS-Lite. In that case you do not have a public IPv4 address and thus cannot run servers with public access over IPv4. The server answering would then be the gateway server of the ISP.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Trugoras
500 Command not understood
Posts: 4
Joined: 2016-05-11 07:11
First name: Maurits
Last name: Groen

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#5 Post by Trugoras » 2016-05-11 16:07

These quick reponses are awesome man, thanks! About the external ip adress i thought the settings in passive mode would do that for me, but maybe i miss understand, after getting my external ip from http://www.whatismypublicip.com/ it work, but i don't know if this is a static ip adress or a dynamic (which is random right?). Should i use this site instead of the default one?

PS: don't know if neccesary but made hid ip
Attachments
FileZilla ftp (options 4).jpg
FileZilla ftp (options 4).jpg (114.75 KiB) Viewed 9686 times

User avatar
boco
Contributor
Posts: 26914
Joined: 2006-05-01 03:28
Location: Germany

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#6 Post by boco » 2016-05-11 16:54

Yes the Retrieve option will work also and spare the manual changing. The real problem is: How will you know what your new server address is, from far away? The answer is: Dynamic DNS providers! One example is No-IP.com, it will give you an URL that always points to your up-to-date IP if you follow the setup procedure. Since you're a believer in the almighty AVM Fritz!Box*, I can tell they include a Dynamic DNS section where you simply select the provider and your login data. The router will then keep the URL current.


*That was a joke. They have their issues, too, but are a lot better than the no-name China crap.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Trugoras
500 Command not understood
Posts: 4
Joined: 2016-05-11 07:11
First name: Maurits
Last name: Groen

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#7 Post by Trugoras » 2016-05-11 18:27

Alright two last questions, because it all seems to work atm, thanks for the no-ip tip was really easy setup. But my first question what setting do i now use in the passive mode tab? And the Fritzbox was the standard from my ISP, if i ever wanted to upgrade what do you recommend, Brand? or maybe which site to read more about them? Anyhow thanks for all the help would have never gotten it to work on my own!

User avatar
boco
Contributor
Posts: 26914
Joined: 2006-05-01 03:28
Location: Germany

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#8 Post by boco » 2016-05-11 19:42

1. Two possibilities: Either use the "Retrieve" option your arrow pointed to, or you can enter the No-IP URL into the "Use the following IP" field (minus the http:// protocol identifier).

2. I'm an AVM user, too. :) If you want to be completely free from distributor firmware, search the web for "DD-WRT" (Explanation) and buy a recent model that's supported by them.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35509
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Setting up an ftp server->Error: Server refused FTP over TLS

#9 Post by botg » 2016-05-11 20:38

Using DD-WRT instead of stock firmware is like fighting fire with fire. Open-WRT is the way to go.

Post Reply