noonjs uses port 4000 to serve the API and Socket. The port can be changed in config.json or via an environment variable.
{
...
"port": 4000,
...
}
Alternatively, environment variables like PORT=4000 achieve the same result. noonjs prioritizes environment variables over config.json, and if neither is set, a default port is applied.