I have a Windows Server 2016 machine with FTP Server role installed, an FTP site added, and FTP Server rules added in Windows Firewall. I can connect via FTP locally like via command line like this:
ftp localhost
Connected to *redacted*.
220 Microsoft FTP Service
200 OPTS UTF8 command successful - UTF8 encoding now ON.
User (*redacted*:(none)): Administrator
331 Password required
Password:
230 User logged in.
However, when I try to connect to the server's IP address via Filezilla on my own computer using both FTP or SFTP it tries to connect for a while then the connection times out. Anything I might be missing? Thanks.
Best Answer
Make sure FTP server rules in Windows firewall are enabled.
Make sure you have restarted the FTP server or whole system (is needed for the firewall rules to get applied)
Maybe not be your immediate problem, but make sure that the FTP server is configured with its external IP address.
Your provider (1and1) will for sure have an external firewall/NAT that needs to be configured to allow the port 21.
(disclaimer: the links go to my guide on Installing a Secure FTP Server on Windows using IIS)