Im running an FTPES server at home and i tried to connect to it from a remote client (ie. computer not on my home network) and i get the following:
--------------
Status: Connecting to xx.xx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Response: 220 Welcome to Server
Command: AUTH TLS
Response: 234 Using authentication type TLS
Status: Initializing TLS...
Command: USER admin
Status: Verifying certificate...
Status: TLS/SSL connection established.
Response: 331 Password required for admin
Command: PASS **********
Response: 230 Logged on
Command: PBSZ 0
Response: 200 PBSZ=0
Command: PROT P
Response: 200 Protection level set to P
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (192,168,1,9,16,78)
Command: LIST
Response: 425 Can't open data connection.
Error: Failed to retrieve directory listing
Error: Disconnected from server
--------------
Clearly it is getting through my cable modem to my computer, but why wont the LIST command work? It does work on my home network if i connect to 192.168.1.9 (my server's ip address)
--------------
Status: Connecting to xx.xx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Response: 220 Welcome to Server
Command: AUTH TLS
Response: 234 Using authentication type TLS
Status: Initializing TLS...
Command: USER admin
Status: Verifying certificate...
Status: TLS/SSL connection established.
Response: 331 Password required for admin
Command: PASS **********
Response: 230 Logged on
Command: PBSZ 0
Response: 200 PBSZ=0
Command: PROT P
Response: 200 Protection level set to P
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (192,168,1,9,16,78)
Command: LIST
Response: 425 Can't open data connection.
Error: Failed to retrieve directory listing
Error: Disconnected from server
--------------
Clearly it is getting through my cable modem to my computer, but why wont the LIST command work? It does work on my home network if i connect to 192.168.1.9 (my server's ip address)