Network and Ports
Every deployment gets a primary port. Paid plans can add more for extra services.
Updated Dec 1, 2026Open the deployment, then Network (under More, or from Settings). It needs the Network permission.
Ports
The Ports card lists the ports of the deployment, with how many your plan allows (for example 1 of 3 ports used).
| Column | Meaning |
|---|---|
| Port | The port number |
| Address | The public address and port, ready to copy |
| Type | Primary or Additional |
The primary port
Every deployment gets one primary port when it is created. Its number is in the SERVER_PORT environment variable. It is also the port that your free HTTPS address forwards to, see Domains. The primary port cannot be removed.
Additional ports
Click Add port to get another port on the same address. Use it for a second service in the same app, for example a dashboard next to your bot, a game server or a raw TCP listener. The deployment restarts to apply the change (Port allocated. Server is restarting to apply the change...).
To remove one, click Delete on its row and confirm. The change applies after the next restart.
Additional ports are reached directly on the node address and port shown, without HTTPS. Only the primary port gets the HTTPS address.
Ports per plan
| Plan | Ports per deployment |
|---|---|
| Free | 1 (the primary port only) |
| Starter, Starter+, Advanced | 3 |
| Pro, Pro+, Enterprise, Custom | 5 |
When you reach the limit, the panel tells you how many ports your plan allows and offers an upgrade. See the pricing page.
Node
The Node card shows the Name and IP of the server that runs the deployment. The IP changes if the deployment moves to another location, see Location. Domains keep working after a move, but anything that connects by IP must be updated.
Listen on the right port
Read the port from the environment instead of hard-coding it, and listen on all interfaces.
Node.js
const port = process.env.SERVER_PORT || 3000;
app.listen(port);
Python
import os
port = int(os.environ.get("SERVER_PORT", 8000))
uvicorn.run(app, host="0.0.0.0", port=port)
A hard-coded port such as 3000 or 8080 does not work, because that port is not assigned to your deployment.
Outgoing connections
Your deployment can connect out to the internet freely (Discord, APIs, databases on other hosts). Ports only matter for traffic coming in. Some uses are forbidden, such as attacking other systems, DDoS tools or internet wide scanners. See the rules.
Troubleshooting
- Slow down. The previous port change is still being applied. Wait the few seconds shown, then try again.
- No node linked. The deployment is not placed on a server yet. Ports are assigned automatically when it is.
- EADDRINUSE or "address already in use". Two parts of your app try to use the same port. Use
SERVER_PORTfor one and an additional port for the other.