# 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 an 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 command line parameter

`dotnet run --AYANOVA_USE_URLS="http://*:5000"`

Example environment variable

Windows

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

Linux / MAC

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

If both a command line parameter and an environment variable are set the command line parameter takes precedence.
