Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upListening on wrong addresses #4036
Comments
This comment has been minimized.
This comment has been minimized.
|
This is a Linux internal thing, nothing to do with Prometheus. It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Apr 2, 2018
This comment has been minimized.
This comment has been minimized.
|
For the record, I moved
instead of
|
This comment has been minimized.
This comment has been minimized.
|
That shouldn't make the slightest difference. |
This comment has been minimized.
This comment has been minimized.
|
Yes, actually it turned out it was an orphaned doublequote somewhere in the systemd unit file, which apparantly made the arguments look correct, but actually get cut off. |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lgierth commentedApr 2, 2018
•
edited
What did you do?
Start prometheus with
--web.listen-address=127.0.0.1:9090What did you expect to see?
Expected to see it listen on IPv4 localhost. I also semi-expected it to generally listen on localhost only by default.
What did you see instead? Under which circumstances?
It listens on IPv6 all-hosts (
::), and prints IPv4 all-hosts.With
--web.listen-address=localhost:9090and--web.listen-address=[::1]:9090it also reports listening on 0.0.0.0, and listens on the same IPv6 all-hosts (instead of localhost),but only responds with 503(I think the 503 might be unrelated).Environment
System information:
Linux 4.13.0-36-generic x86_64
Prometheus version:
Alertmanager version:
n/a
Prometheus configuration file: