5

I created an FTP server on my local Windows 7 machine with IIS.

I can connect to the server with the machine on which I created the server, but I can't connect to the server with my laptop which is in the same local network as the machine with FTP server on it.

I configured passive mode in FileZilla and port forwarding on the router.

But the problem is always the same:

Connection timed out

Any ideas?

2
  • 1
    Any software firewalls on the machine? Have you checked IIS is listening for all IP's? Port forwarding is not necessary within the same local network.
    – Jonno
    Commented Jan 22, 2016 at 8:44
  • Yes it was the firewall problem. Thank you for help.
    – Matic1911
    Commented Jan 23, 2016 at 20:55

1 Answer 1

7

The connection is most probably blocked by the Windows firewall.

While the Windows firewall is automatically configured with rules for the ports 21, 990 and 1024-65535, when IIS FTP server is installed, the rules are not enabled initially.

To enable or change the rules, go to Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules and locate three "FTP server" rules. If the rules are not enabled, click on Actions > Enable Rule.

For details, see my guide for Installing a secure FTP server on Windows using IIS.

2
  • If I understand right. FTP uses port 21 for connection and other ports in my case ports 50000 - 51000 for data transfer. Am I right?
    – Matic1911
    Commented Jan 23, 2016 at 14:43
  • That's correct. See my article on FTP connection modes for details. Commented Jan 23, 2016 at 19:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .