• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4397
  • 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:	 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

1 Solution
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.
j_crow1Author Commented:
Worked perfectly. Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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