ubuntu 16.04 proftpd passive mode ko address unknow

2 posts / 0 new
Last post
#1 Sun, 10/29/2017 - 12:42
magnetepazzo

ubuntu 16.04 proftpd passive mode ko address unknow

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

Sun, 10/29/2017 - 14:16
adamjedgar

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.

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Topic locked