port

fun port(): Int(source)

Returns the actual port number the server is bound to after startup.

Return

The resolved server port.