I have an AWS Windows Remote machine running Windows Server 2012, and I have set up an ftp server there with authenticated user, and I tired to access that FTP server in a browser in the same machine.

But I actually tried to access the same server in my laptop (outside of remote) and I wasn't able to access it. I tried in both FileZilla and browser and both didn't work. I checked the firewall and the FTP Inbound rule are enabled.

In FileZilla, I get 'Connection timeout, Could not connect to server' error message when I tried to access in port 21.

I don't know much about networking, but any idea what I am missing here? I want to access my FTP server via Internet? Will there be any restrictions from AWS (EC2 Instance) since I created a ftp server in an AWS Remote machine? Please advise.

Note: I did add Port 21 to Inbound and Outbound in Security Group tab in the portal.

  • Is this FTP or SFTP? (if this is really FTP, it would be worthwhile to setup an SFTP or SCP server in AWS instead, as FTP should not be used anymore without using an encrypted tunnel) – JonathanDavidArndt Apr 10 '18 at 0:44
  • If I set up SFTP or SCP in my AWS Windows machine, can that be accessed through the internet? And do they not any encryption like FTP? Are you saying that the FTP server can not be accessed through internet without encryption tunnel? Please advise. @JonathanDavidArndt – Sam Apr 10 '18 at 8:31
  • How does your security group look like? – Mahdi Apr 10 '18 at 10:39
  • FTP and SFTP can (typically) be accessed the same way over the internet. (If you are using FileZilla, the only change you have to make is the port number, and FileZilla takes care of the rest). However, FTP has no encryption. Some internet services have begun to block unencrypted ports. It is worth trying SFTP or SCP to see if there is any difference. – JonathanDavidArndt Apr 10 '18 at 12:20
  • You mean FileZilla Server in the remote machine or FileZilla Client in a machine via Internet? Where should I change the port number? In Firewall? – Sam Apr 10 '18 at 18:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.