Ports

Every network port a ScalPanel server publishes, what it is for, and who needs to reach it.

A ScalPanel server publishes the ports below on the host. The installer stops if one of the TCP ports is already in use, so another web, mail or FTP server cannot run on the same machine.

The installer does not set up a firewall: every port in the tables is reachable from the internet unless you restrict it. Use Security → Firewall in the admin panel, or your hosting provider's network firewall.

Websites

PortProtocolServiceWho needs it open
80TCPHTTP for websites; redirects to HTTPS and answers certificate challengesEveryone
443TCPHTTPS for websitesEveryone
443UDPHTTP/3 for websitesEveryone (browsers fall back to TCP if closed)

Port 80 must stay open for Let's Encrypt to issue and renew certificates, for websites and for the panels.

Panels

PortProtocolServiceWho needs it open
2083TCPHosting panel (customers)Customers
2087TCPAdmin panel (provider and resellers)Your staff and resellers
2096TCPWebmailMailbox users
2080TCPCalendars and contacts (CalDAV and CardDAV)Mailbox users who sync calendars or contacts
2078TCPWeb Disk (WebDAV over TLS)Customers who use Web Disk
2092TCPDatabase manager (Adminer), opened from the hosting panelCustomers

Tip: If only your office needs the admin panel, allow port 2087 only from your office's network under Security → Firewall. Resellers need it too.

Mail

PortProtocolServiceWho needs it open
25TCPSMTP: incoming mail from other mail servers, and outgoing deliveryEveryone (other mail servers)
587TCPSubmission with STARTTLS, for mail appsMailbox users
465TCPSubmission with implicit TLS, for mail appsMailbox users
993TCPIMAP with TLSMailbox users
995TCPPOP3 with TLSMailbox users
110TCPPOP3; a sign-in needs STARTTLS firstMailbox users

Many hosting providers block outgoing port 25 by default. Ask yours to open it, or mail from the server cannot reach other mail servers.

DNS

PortProtocolServiceWho needs it open
53UDP and TCPAuthoritative DNS (PowerDNS), on the public address onlyEveryone, if you host DNS

Port 53 is bound to the server's public address, because systemd-resolved uses 127.0.0.53 on the same server.

File transfer and shell

PortProtocolServiceWho needs it open
2222TCPSSH and SFTP for customers (the SSH gateway, with keys)Customers with SSH access
21TCPFTP control (FTPS required by default)Customers with FTP accounts
30000–30049TCPFTP passive data ports (the default range)Customers with FTP accounts

The FTP server is off by default. Its ports are published but closed until you choose an FTP server under Web & software → FTP server. You can change the passive port range there.

Port 2222 is the customers' SSH gateway. Your own administrator SSH to the host stays on whatever port the host's SSH server uses (normally 22); ScalPanel does not change it.

Web nodes on other servers

PortProtocolServiceWho needs it open
51820UDPThe private link (WireGuard), on the main server, after scalpanelctl link initYour web nodes and mail servers only

A web node on another server needs the website ports open to everyone (80 and 443 over TCP, 443 over UDP, and FTP's 21 and passive range if you use FTP), and the remote database ports if accounts use them. Everything between the node and the main server goes through the link. A mail server on another server needs 25, 110, 465, 587, 993 and 995 open to everyone, and 80 for its certificate checks.

Remote database access

PortProtocolServiceWho needs it open
13306–13315TCPMariaDB, one port per database serverNetworks customers allow
15432–15441TCPPostgreSQL, one port per database serverNetworks customers allow
37017–37026TCPMongoDB, one port per database serverNetworks customers allow

These ports are closed by default. Each one admits only the addresses and networks an account has allowed for that database server: the server's firewall drops every other connection before it reaches ScalPanel, so to anyone else the port looks closed. Websites on the server do not use them; they reach their databases internally.

The databases of ScalPanel itself (the panel's PostgreSQL and MariaDB, the mail directory), its image registry and its internal services never listen on the server's public addresses. The installer's test scans them from another machine on every release.

Optional add-on

PortProtocolServiceWho needs it open
8790TCPScalGuard consoleYour staff, only while the ScalGuard add-on is installed

Local only

PortProtocolService
5000TCPThe local image registry, bound to 127.0.0.1

This port is not reachable from outside the server.

Outgoing connections

The server itself connects out to:

  • scalpanel.scalws.com over HTTPS, for releases, the PHP runtime catalog and plugins;
  • Let's Encrypt over HTTPS, for certificates;
  • other mail servers on port 25;
  • during installation, Docker's apt repository and the system's own apt repositories.