Albert
01/30/2019, 8:14 PMembeddedServer(Netty, port = 0)
But I don't know where I can get the random port from. And the logs are showing it is listening on <http://0.0.0.0:0>
yschimke
01/30/2019, 8:59 PMval x = embeddedServer(Netty, port = 0) {}
x.environment.connectors.first().port
Albert
01/31/2019, 9:03 AM0
. The information is in the Engine, but not being propagated back into the connectos: https://github.com/ktorio/ktor/blob/master/ktor-server/ktor-server-netty/jvm/src/io/ktor/server/netty/NettyApplicationEngine.kt#L77