setPort
Sets the port which the server will bind to. Setting port to 0 will cause the server to choose its port automatically.
Parameters
port
Port number to bind to. Use 0 for automatic port assignment.
Sets the port which the server will bind to. Setting port to 0 will cause the server to choose its port automatically.
Port number to bind to. Use 0 for automatic port assignment.