У меня есть FTP-сервер, который работает около месяца без каких-либо проблем.FTP в пассивном режиме: EHOSTUNREACH - нет маршрута к хосту
Сегодня я не могу подключиться к нему с помощью FileZilla, я получаю сообщение:
Соединение для передачи данных не может быть установлено: EHOSTUNREACH - Нет маршрута для размещения
я искал на Google/SO и обнаружил, что это может быть проблема TLS. Однако, я могу подключиться к FTP-серверу с помощью консоли:
$ ftp
ftp> open mymachine.mycompany.com
Connected to mymachine.mycompany.com
220 Bienvenue sur le serveur FTP mymachine.mycompany.com.
Name (mymachine.mycompany.com:adenoyelle): mylogin
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 2 502 502 20480 Jun 05 11:51 Ga
drwxr-xr-x 7 502 502 4096 Apr 21 15:41 Bu
drwxr-xr-x 7 502 502 4096 Jun 03 16:26 Zo
226 Directory send OK.
ftp>
Что может быть причиной этого?
EDIT: Я обнаружил, что включение режима «Active» решает проблему в Filezilla, но мне нужно работать в пассивном режиме
EDIT: Вот полный след на стороне FileZilla в:
Status: Connecting to 10.196.***.***
Status: Connection established, waiting for welcome message...
Response: 220 Bienvenue sur le serveur FTP mymachine.mycompany.com.
Command: USER mylogin
Response: 331 Please specify the password.
Command: PASS ******
Response: 230 Login successful.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: EPRT
Response: EPSV
Response: MDTM
Response: PASV
Response: REST STREAM
Response: SIZE
Response: TVFS
Response: UTF8
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/mylogin"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (10,196,165,224,189,253).
Command: LIST
Error: The data connection could not be established: EHOSTUNREACH - No route to host
Я спрошу своего любимого администратора, если он что-то изменил после обеда :) –
Что сказал ваш «любимый системный администратор», Арно? (Кажется, у меня такая же проблема) – jringoot