Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4385
  • Last Modified:

Cannot connect to FTPS server - connection time out

I set up a FTPS server on IIS7 - it works great on the inside of the network, but if I am connection from the outside, it gives me the following error in FileZilla.

I have set filezilla to connect through active mode, but it seems that FileZilla is still trying to switch it over to passive mode. Can someone explain to me how to stop FileZilla from doing this?



Response:	230 User logged in.
Command:	SYST
Response:	215 Windows_NT
Command:	FEAT
Response:	211-Extended features supported:
Response:	 LANG EN*
Response:	 UTF8
Response:	 AUTH TLS;TLS-C;SSL;TLS-P;
Response:	 PBSZ
Response:	 PROT C;P;
Response:	 CCC
Response:	 HOST
Response:	 SIZE
Response:	 MDTM
Response:	211 END
Command:	OPTS UTF8 ON
Response:	200 OPTS UTF8 command successful - UTF8 encoding now ON.
Command:	PBSZ 0
Response:	200 PBSZ command successful.
Command:	PROT P
Response:	200 PROT command successful.
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,40,1,203,237).
Command:	LIST
Response:	150 Opening BINARY mode data connection.
Error:	Connection timed out
Error:	Failed to retrieve directory listing

Open in new window

0
j_crow1
Asked:
j_crow1
1 Solution
 
DarkHillCommented:
Try these steps:

    * Open Filezilla, go to Edit -> Settings
    * Click on Connection -> FTP: Choose Active
    * Click on Connection -> FTP -> Active Mode: Select "Ask your operating system for the external IP address"
    * Click on Connection -> FTP -> Passive Mode: Choose Fall Back to Active Mode
    * Press OK.

Source: http://www.nodans.com/index.cfm/2008/4/24/Fix-for-Filezilla-Failing-to-Retrieve-Directory-Listing

Also, ensure your server allows you to connect remotely.
0
 
j_crow1Author Commented:
Worked perfectly. Thanks.
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now