vertx / io.vertx.rxjava.core.net / NetServer / actualPort

actualPort

open fun actualPort(): Int

The actual port the server is listening on. This is useful if you bound the server specifying 0 as port number signifying an ephemeral port

Return
the actual port the server is listening on.