Replies: 1 comment
-
FYI one option is to bind myself, and pass in a TCP Listener. Tbh that is preferable, as then it is somewhat sans-io. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing an app, and I am considering using Rocket for the admin API (for it's convenience).
I need the port and binding to be dynamic (
0.0.0.0:0
) and need to know the port after it is bound.This is slightly different to #688 , where the user wants a specific non-default port which is known.
The code I have is as follows
With ignite before launch, the port is 0. With launch (the above code), the call is obviously blocking.
Is there a way to get the port from rocket somehow? This goes beyond trace logs as I need it in my management console.
Beta Was this translation helpful? Give feedback.
All reactions