locked
Can connect to FTP locally, but not remotely. RRS feed

  • Question

  • User1478017396 posted

    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 FTP/SFTP it tries to connect for a while then the connection times out. Anything I might be missing? Thanks.

    Friday, October 20, 2017 6:49 PM

All replies

  • User1478017396 posted

    I figured it out. I had to create a rule to open port 21 in hosting account.

    Saturday, October 21, 2017 5:44 AM
  • User690216013 posted

    Yes, if you use VPS or cloud computing platform, there might be an external firewall you need to configure.

    Saturday, October 21, 2017 3:22 PM
  • User-460007017 posted

    Hi AaronVT,

    it will be appreciated to mark this thread as answer if you have fixed this issue. So that this solution could help more people.

    Best Regards,

    Yuk Ding

    Monday, October 23, 2017 2:46 AM