FTP Not Working In Plesk Hosting Stack On Ubuntu – Amazon AWS LightSail Instance Ports


After creating a new Plesk Hosting Stack On Ubuntu instance in Amazon AWS LightSail, one cannot login to FTP of the domain or website already configured. The reason is that there are some ports under the Firewall which need to be opened for any FTP client i.e. Filezilla to work.

Here is a list of ports that need to be opened for FTP and other Plesk website hosting services to work;

Following are the ports that are enabled by default whenever creating Plesk instance on Ubuntu in LightSail AWS Amazon;

After the creation of the instance, you need to open/enable these ports to match the following;

To open or enable a new port in the AWS Lightsail Instance Firewall, simply click the Plesk Hosting Stack on Ubuntu instance and then click “Networking” tab. Under “IPv4 networking”, click “Add rule”;

Click the Protocol drop-down menu to select TCP or UDP and then enter your desired port (or range) in the “Port or range” box. Click the “Create” button when done. This will automatically create/open/enable the same ports in the IPv6 Firewall as well;

Ports Explained

Some of the commonly used ports and the corresponding services used;

  • Data transfer over File Transfer Protocol (FTP) uses port 20.
  • Command control over FTP uses port 21.
  • Secure Shell (SSH) uses port 22.
  • Telnet remote login service, and unencrypted text messages uses port 23.
  • Simple Mail Transfer Protocol (SMTP) email routing uses port 25.
  • Domain Name System (DNS) service uses port 53.
  • Hypertext Transfer Protocol (HTTP) used by web browsers to connect to websites uses port 80.
  • Post Office Protocol (POP3) used by email clients to retrieve email from a server uses port 110.
  • Network News Transfer Protocol (NNTP) uses port 119.
  • Network Time Protocol (NTP) uses port 123.
  • Internet Message Access Protocol (IMAP) used to manage digital mail uses port 143.
  • Simple Network Management Protocol (SNMP) uses port 161.
  • HTTP Secure (HTTPS) HTTP over TLS/SSL used by web browsers to establish an encrypted connection to websites uses port 443.

Courtesy:

https://docs.plesk.com/en-US/obsidian/deployment-guide/plesk-installation-and-upgrade-on-public-cloud-services/installing-plesk-on-amazon-lightsail/open-access-to-plesk-services-on-an-amazon-lightsail-instance.79159/

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-firewall-and-port-mappings-in-amazon-lightsail

Leave a Reply

Please log in using one of these methods to post your comment:

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 )

Connecting to %s