Skip to content

Port / URL setting

You can control the port and URL that the AyaNova server will listen on via environment variable or command line parameter.

Default

If no override is specified AyaNova will use the following default value:

"http://*:7575"

This means AyaNova will listen on port 7575

Overriding

AyaNova expects the PORT and URL to be provided by a config.json property, environment variable or command line parameter named

AYANOVA_USE_URLS

The value specified should be a string of one or more semicolon separated values, for example: http://*:5000;http://localhost:5001;https://hostname:5002

Example config.json entry

{
  ...other properties...
  "AYANOVA_USE_URLS": "http://*:49152"
}

Example command line parameter

ayanova.exe --AYANOVA_USE_URLS="http://*:5000"

Example environment variable

Windows

set "AYANOVA_USE_URLS=http://*:5000"

Linux

export AYANOVA_USE_URLS="http://*:5000"