Port

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,
...
}

Environment variables

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.

Edit this page on Github
© 2025 kav3.com. Crafted with and dedication.