-
@ApplicationScope
public class Startup {
public void run(@Observe StartupEvent event) {
// how to get the port?
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
HerrDerb
Sep 22, 2023
Replies: 1 comment
-
I would try and read the property
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lost22git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would try and read the property
quarkus.http.port
which I assume should hold the port.