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:
- The program is running and using the right port.
- The Windows or Linux firewall allows the connection.
- 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.
Example for Ubuntu or Debian
Section titled “Example for Ubuntu or Debian”This example uses the default SSH port. If you changed it, replace 22 with your port before you turn on the firewall.
apt install -y ufwufw allow 22/tcpufw allow 80/tcpufw allow 443/tcpufw enableSkip ports 80 and 443 if you won’t host websites.
Windows
Section titled “Windows”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.
Security
Section titled “Security”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.

