-
Notifications
You must be signed in to change notification settings - Fork 3k
Do not show 0.0.0.0 in a url #50347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Do not show 0.0.0.0 in a url #50347
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not rush this as it's our startup message.
Can you please add in the description some examples of the results, compared to how it was before.
Because it looks very verbose.
Thanks!
closes: quarkusio#50231 Signed-off-by: Steve Hawkins <[email protected]>
Yeah, this would be really nice to see |
The description reflects the latest changes. |
I like the latest incarnation of this |
serverListeningMessage.append(" and "); | ||
} | ||
serverListeningMessage.append(String.format("unix:%s", getDeveloperFriendlyHostName(domainSocketOptions))); | ||
serverListeningMessage.append(String.format("unix:%s", domainSocketOptions.getHost())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Domain sockets don't understand the any address concept, so we don't need special handling here.
The bind address 0.0.0.0 for all addresses should not be shown in the logs in a url.
Previously one might see:
Listening on: https://0.0.0.0:8444
An initial proprosal with this pr would show:
Listening on: all addresses on port 8444 for https (e.g. https://127.0.0.1:8444)
This was refined to be less verbose:
Listening on: all addresses including https://localhost:8444