These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for ubuntu 16.04 proftpd passive mode ko address unknow on the new forum.
Hi friends, when i try to connect with filezilla to my server ftp on ubuntu 16.04 and virtualmin I see this error : The server sent a passive response that contains an unreachable address. Passive mode failed. Command: PORT 192.168.200.0-194 149 157 Answer: 500 illegal PORT command Error: The contents of the folder could not be read
If I connect with sftp no problem . Thanks
Have you manually set a port range that is different from standard ftp default? It looks like you have...ive seen that port error before and i vaguelly think you shouldnt do this, standard ftp sorts it via 21...not 145 or 157. Also, you shouldnt randomly assign ports lower than 1000 i believe...as they will likely conflict with something.
The command "PORT" in you error message means your ftp client is trying to initiate an "active"connection. This apparently used to be the deafult for ftp...if it was attempting passive connection the command would be "PASSV". i think you need to check your filezilla settings.
If port alterration isnt enough(and i suspect it wont be), try changing to between passive and active modes in filezilla settings and attempt connection. I usually leave the port box empty...filezilla already knows what port to use and will sort this itself with default ftp ports (as long as you delete any wrong ones you may have enterred in filezilla)
There are 2 ways to do this...either under site manager (where passive/active modes can be set for just a single site) or in settings (where the passive/active mode is used by all sites in filezilla).
If that fails then its back to your server proftp and also firewall configuration for some problem solving.
https://ajecreative.com.au