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;
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.