If I want to have ktor listen on an internal port ...
# ktor
d
If I want to have ktor listen on an internal port for microservice intercommunication, and an external faced port for outside world api, can I do this:
Copy code
fun main(args: Array<String>) {
    embeddedServer(Netty, port = 8080, module = Application::apiModule).start(wait = true)
    embeddedServer(Netty, port = 9090, module = Application::internalModule).start(wait = true)
}
Or will the first one block the thread and never get to the second?