Answer the question
In order to leave comments, you need to log in
Error connecting to hosting via ftp?
I connect via ftp to the site, I drive everything correctly.
but the error is like this
Status: Finding IP address for ftp.my-site.tk
Status: Connecting to 31.170.165.7:21...
Status: Connected, waiting for prompt...
Status: Connected
Status: Getting directory listing ...
Command: PWD
Response: 257 "/public_html" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (31,170,165,7,34,128)
Command: MLSD
Error: Data connection could not be established: ETIMEDOUT - Connection timed out
Answer the question
In order to leave comments, you need to log in
This means that the ftp client cannot connect to the server in passive mode. The firewall on the server blocks ports that are not used statically, but are dynamically selected. FTP clients, after connecting in passive mode, send a command to the server to switch to ports above 1024 (all ports below are reserved, and the rest are disabled as unnecessary and for security reasons), and therefore such problems arise.
To solve this problem, you must connect in active mode. How to do this in the two most popular programs is described below.
Mini guide for FileZilla users:
Menu tab Editing -> Settings. Next, a window opens in which we select the FTP tab on the left. A group of Transmission Mode settings will appear on the right. The default is Passive (Recommended). This is where you need to select the Active mode. Next, click on the OK button and connect successfully.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question