getLocalPort

abstract fun getLocalPort(): Int

获取服务器本地监听的端口号。