我正在嘗試連接到我的 ftp 伺服器,但我得到了
Status: Disconnected from server
Status: Connecting to 127.0.0.1:21...
Status: Connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/jenia" is the current directory
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (127,0,0,1,240,11).
Command: LIST
Response: 150 Here comes the directory listing.
Error: Connection closed by server
Error: Failed to retrieve directory listing
我不明白在我的 ftp 客戶端 (Filezilla) 和我的伺服器之間建立連線時會出現什麼問題。
這與我關閉時形成鮮明對比vsftpd
:
Status: Connecting to 127.0.0.1:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
Status: Waiting to retry...
Status: Connecting to 127.0.0.1:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
為什麼Error: Failed to retrieve directory listing
?
提前致謝。
PS 我之所以連接到,127.0.0.1
是因為我的 Android 手機上(可能)遇到了相同的問題,並決定嘗試使用 Filezilla 來開始調查這個問題。