Published ports
Reach an app on a port of the server, for a game server, SMTP or any TCP or UDP protocol.
A published port binds a port of the server straight to a port of your app, so clients connect to
203.0.113.10:25565 instead of a domain. Use it for what is not HTTP: a game server, SMTP, raw TCP
or UDP. For a website or an API, add a domain.
You need Publish ports, a grant an instance admin turns on for your account. See Permissions.
Publish a port
Open Published ports
Settings -> Advanced -> Published ports, then Add port. An app can publish up to 20.

Fill in the pair
Prop
Type
Save and deploy
Save in the bar at the bottom, then deploy. The port opens on the next deploy.
Open to anyone who reaches the server
A published port has no certificate and no login in front. Put a firewall in front of it.
Good to know
- Ports under 1024 are refused. Publish
8025instead and let your firewall do the rest. - A host port has one owner per server. One that another app or database already publishes is refused.
- A Compose app publishes its own with
ports:in its compose file, under the same grant. Pull request previews never publish.
Something wrong? See Deploys and builds.
Did this page help you?