I have to access an external FTP server on a nonstandard port (2121). The FTP server requires passive mode. I've created an outbound rule on the GnatBox (v. 3.7.1) to allow port 2121 TCP. I can login to the ftp server but then get the following error (log from FileZilla FTP client):

Status: Connecting to hostname.domain.tld:2121 ...
Status: Connected with hostname.domain.tld:2121. Waiting for welcome message...
Response:       220 Welcome to Company FTP server FTP service.
Command:        USER bobthebuilder
Response:       331 Please specify the password.
Command:        PASS *****************
Response:       230 Login successful.
Command:        FEAT
Response:       211-Features:
Response:        EPRT
Response:        EPSV
Response:        MDTM
Response:        PASV
Response:        REST STREAM
Response:        SIZE
Response:        TVFS
Response:       211 End
Command:        SYST
Response:       215 UNIX Type: L8
Status: Connected
Status: Retrieving directory listing...
Command:        PWD
Response:       257 "/"
Command:        TYPE A
Response:       200 Switching to ASCII mode.
Command:        PASV
Response:       227 Entering Passive Mode (x,x,x,x,54,137)
Command:        LIST
Error: Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Error:  Could not retrieve directory listing
Command:        PWD
Error:  Timeout detected!
Status: Waiting to retry... (5 retries left)


In this line:
"Response: 227 Entering Passive Mode (x,x,x,x,54,137)"

x,x,x,x is the IP address of the FTP server. Does the FTP server wants to setup a data connection on port 54 and/or 137? I do not see any outbound connections getting blocked by GnatBox that could be related to this FTP connection.

Other FTP sites on port 21 work as expected.
Any ideas?
Thanks in advance.

------------------------------------------------------
To unsubscribe:           [EMAIL PROTECTED]
For additional commands:         [EMAIL PROTECTED]
Archive:  http://archives.gnatbox.com/gb-users/

Reply via email to