-
-
Notifications
You must be signed in to change notification settings - Fork 587
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
Fix: prometheus reporter to accept host option #1221
Conversation
add host option, because listen with only port will lead to node only listening on ipv6 address if ipv4 and ipv6 are enabled. https://stackoverflow.com/questions/47797322/node-js-server-only-listening-on-ipv6
fix tests
fix tests
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.
Please fix the CI.
How? it seems to be some infrastructure problem:
|
I don't think so, because the master branch passed and if I fetch this PR, the error appears on my local dev as well. |
Yep, funny issue with node not accepting a host when using the port: 0 feature, fixed! Just noticed: |
Nice catch, thanks! |
📝 Description
add host option, because listen with only port will lead to node only listening on ipv6 address if ipv4 and ipv6 are enabled.
https://stackoverflow.com/questions/47797322/node-js-server-only-listening-on-ipv6
🎯 Relevant issues
💎 Type of change