On this page
Public address versus app port
Visitors use the connected hostname over HTTPS. The hosting gateway forwards requests to the allocated application port on the selected node. The website A record points to that shared gateway, even when your website runs on an EU or another CA node.
Do not change the supplied website DNS target to the node IP or add the internal app port to the public website URL. SFTP is also a separate service with its own address and port in panel Settings.
Node.js and Python apps
The runtime provides SERVER_PORT and also exposes PORT for the application. Use that allocation rather than assuming a development default. Bind to 0.0.0.0 so the gateway can reach the process from outside the container.
Listening on 127.0.0.1 alone can make a local test succeed while the public website returns a gateway error. Starting the process successfully is only one part of making the site reachable.
Static HTML and PHP
The supplied web-server wrapper manages the listening port for these website types. Upload files into public/ and keep the managed runtime command intact. You normally do not need to configure a separate public port yourself.