ftp command hangs with:227 Entering Passive Mode (10,119,98,125,4,12).
i just install vaftpd on a AWS instance,below is my config, and i also opened the port 21 20 1024-1048, when i connect with filezilla, everything is fine, but when i am using the ftp command , it just hangs after the dir command with:227 Entering Passive Mode (10,119,98,125,4,12).
pasv_enable=YES pasv_min_port=1024 pasv_max_port=1048 port_enable=YES pasv_address=10.119.98.125 Edit: i do get an message when using fielzilla : Quote:
|
Quote:
Try to # comment the marked line to disable it in vsftpd (the Address will be taken from vsftpd running daemon) and try to temporarily disable the firewall when you're testing the connection, to see if it's hanging because of it. |
Also, are you pointing the 10.119.95.125 also for data connection (i.e. that is the server IP you are pointing to)?
You could also try, from command line, to use the EPSV command instead of PASV (the server just give you the port to use to set up the data connection). Last, did you also try the connection directly from the server (loopback)? Hope this helps! |
All times are GMT -5. The time now is 11:01 PM. |