Home > programming, tech > Windows FTP server and firewall setting

Windows FTP server and firewall setting


Problem: You are having difficulty connecting to your FTP server hosted in Windows with the following error message;

Command:    PWD
Response:    257 "/" is current directory.
Command:    TYPE I
Response:    200 Type set to I.
Command:    PASV
Response:    227 Entering Passive Mode (xxx,xxx,xxx,xxx,x,xx).
Command:    LIST
Response:    425 Can't open data connection.
Error:    Failed to retrieve directory listing 

Cause:
 Windows Firewall is blocking the required media ports.
Solution:  Configure FTP service on the network adapter.
1. Start – Control Panel – Windows Firewall
2. Click on the Advanced Tab
3. Click to select your Network Adapter (Local Area Connection) – then click Settings
4. Put a check mark on FTP Server.
5. Click OK
Advertisements
Categories: programming, tech
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: