It is possible to get ktor to run on a dynamically-allocated port, and then tell you what port it is running on?
c
christophsturm
03/28/2021, 8:23 PM
no.
christophsturm
03/28/2021, 8:25 PM
you have 2 options, find a random port yourself and pass that (I found it impossible to get that working 100%). or if it is for tests, use a test-engine https://ktor.io/docs/testing.html