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
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 80 | TCP | HTTP for websites; redirects to HTTPS and answers certificate challenges | Everyone |
| 443 | TCP | HTTPS for websites | Everyone |
| 443 | UDP | HTTP/3 for websites | Everyone (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
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 2083 | TCP | Hosting panel (customers) | Customers |
| 2087 | TCP | Admin panel (provider and resellers) | Your staff and resellers |
| 2096 | TCP | Webmail | Mailbox users |
| 2080 | TCP | Calendars and contacts (CalDAV and CardDAV) | Mailbox users who sync calendars or contacts |
| 2078 | TCP | Web Disk (WebDAV over TLS) | Customers who use Web Disk |
| 2092 | TCP | Database manager (Adminer), opened from the hosting panel | Customers |
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.
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 25 | TCP | SMTP: incoming mail from other mail servers, and outgoing delivery | Everyone (other mail servers) |
| 587 | TCP | Submission with STARTTLS, for mail apps | Mailbox users |
| 465 | TCP | Submission with implicit TLS, for mail apps | Mailbox users |
| 993 | TCP | IMAP with TLS | Mailbox users |
| 995 | TCP | POP3 with TLS | Mailbox users |
| 110 | TCP | POP3; a sign-in needs STARTTLS first | Mailbox 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
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 53 | UDP and TCP | Authoritative DNS (PowerDNS), on the public address only | Everyone, 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
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 2222 | TCP | SSH and SFTP for customers (the SSH gateway, with keys) | Customers with SSH access |
| 21 | TCP | FTP control (FTPS required by default) | Customers with FTP accounts |
| 30000–30049 | TCP | FTP 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
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 51820 | UDP | The private link (WireGuard), on the main server, after scalpanelctl link init | Your 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
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 13306–13315 | TCP | MariaDB, one port per database server | Networks customers allow |
| 15432–15441 | TCP | PostgreSQL, one port per database server | Networks customers allow |
| 37017–37026 | TCP | MongoDB, one port per database server | Networks 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
| Port | Protocol | Service | Who needs it open |
|---|---|---|---|
| 8790 | TCP | ScalGuard console | Your staff, only while the ScalGuard add-on is installed |
Local only
| Port | Protocol | Service |
|---|---|---|
| 5000 | TCP | The 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.comover 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.