Method ResetListenPort
ResetListenPort(int)
Listen on a new port the next time the server starts. If the server is already running, it will be stopped and restarted automatically.
Declaration
public void ResetListenPort(int port = 0)
Parameters
Type | Name | Description |
---|---|---|
int | port | Specify a port to listen on. Default is 0 to choose any open port |