Answer the question
In order to leave comments, you need to log in
Why is the FTP connection terminated at the PASV command step?
Good day!
After switching to another operating system, there was a problem with FTP connections. It lies in the fact that when I try to connect to any of the servers, the connection is closed by a timeout at the PASV command stage.
Here is the connection log to make it clearer:
-> USER p16936_123
331 Password required for p16936_123
-> PASS *HIDDEN*
230 User p16936_123 logged in.
-> TYPE A
200 Type set to A
-> MODE S
200 Mode set to S
-> STRU F
200 Structure set to F
-> PWD
257 "/" is the current directory
Connected
-> CWD /
250 CWD command successful
-> PASV
Failure retrieving contents of directory /
Answer the question
In order to leave comments, you need to log in
What operating system did you change from? Or do you think the most important piece of information is not needed?
An error at this stage means that the client cannot establish a connection in passive mode - this is one that requires the following conditions to be met to open it:
1. The server has a white address (and it is also specified in the config) and the firewall does not block the necessary ( specified in the config) ports.
OR
2. The server is behind NAT and the necessary addresses are configured there and the white address is specified in the config, and the firewall does not block forwarded ports.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question