getPort

abstract fun getPort(): Int

Return the port this server is listening on.

Return

the port (or -1 if none)