setPort

Sets the port which the server will bind to. Setting port to 0 will cause the server to choose it's port auto-magically.

Parameters

port