Skip to content
Português

Ports and firewall

Service Default TCP port
SSH on Linux 22
RDP on VPS 2.0 with Windows 3389
RDP on VPS 1.0 with Windows 5395 inside the VPS; to connect, use the address on the card
HTTP and HTTPS websites 80 and 443
cPanel, WHM and Webmail over HTTPS 2083, 2087 and 2096

See also the ports for control panels on VPS 2.0.

A port can be blocked in more than one place

Section titled “A port can be blocked in more than one place”

For a connection to work, check that:

  1. The program is running and using the right port.
  2. The Windows or Linux firewall allows the connection.
  3. On VPS 1.0, the panel firewall allows it too.

Before you change any rules, check which port you use to connect and keep your current session open. Then test a new connection.

This example uses the default SSH port. If you changed it, replace 22 with your port before you turn on the firewall.

Terminal window
apt install -y ufw
ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable

Skip ports 80 and 443 if you won’t host websites.

In Windows Firewall, open only the port you need. Don’t turn off the whole firewall or change the RDP port. On VPS 1.0, keep TCP 5395. On VPS 2.0, the default is TCP 3389.

Don’t open databases, Docker or control panels to the whole internet unless you need to. If you connect directly and your public IP address doesn’t change, you can open a port only to that address. For SSH and RDP ports, this may block browser access (SSH WEB, RDP WEB or Console Web). Don’t do this for port 5395 on VPS 1.0, because connections come through the proxy.