Method ResetListenPort
ResetListenPort(Int32)
Listen on a new port then 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 |
---|---|---|
Int32 | port | Specify a port to listen on. Default is 0 to choose any open port |