Then you probably have something else already running on port 9094. On Linux, you should be able to see it via either:
$ netstat -tlpen or: $ ss -tlnpe Regarding the flag --web.listen-address, that is for the web interface. To change the port for the cluster mesh listener, you'll need to use --cluster.listen-address. On Sun, Sep 8, 2024 at 5:11 PM Chinelo Ufondu <[email protected]> wrote: > I tried running alertmanager again and i came across this issue, here is > the error > > ts=2024-09-01T17:35:52.421Z caller=main.go:181 level=info msg="Starting > Alertmanager" version="(version=0.27.0, branch=HEAD, revision= > 0aa3c2aad14cff039931923ab16b26b7481783b5)" > ts=2024-09-01T17:35:52.421Z caller=main.go:182 level=info > build_context="(go=go1.21.7, platform=linux/amd64, user=root@22cd11f671e9, > date=20240228-11:51:20, tags=netgo)" > ts=2024-09-01T17:35:52.440Z caller=cluster.go:186 level=info > component=cluster msg="setting advertise address explicitly" > addr=192.168.101.2 port=9094 > ts=2024-09-01T17:35:52.441Z caller=main.go:221 level=error msg="unable to > initialize gossip mesh" err="create memberlist: Could not set up network > transport: failed to obtain an address: Failed to start TCP listener on > \"0.0.0.0\" port 9094: listen tcp 0.0.0.0:9094: bind: address already in > use" > > I have tried all i can to stop the processes that is currently running on > alert manager, but it didn't work out, i also tried adding an external > command to run *alertmanager --web.listen-address=localhost:9095 > --config.file=alertmanager.yml, *but it still isn't picking the new port > number i would appreciate further assistance from you guys please, Thank > you. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/CAL2E%2B826K8SbAM%3DA2q%3DUk7WRf853J%2B69R-B1zZCX%2BvQpXyQyiA%40mail.gmail.com > <https://groups.google.com/d/msgid/prometheus-users/CAL2E%2B826K8SbAM%3DA2q%3DUk7WRf853J%2B69R-B1zZCX%2BvQpXyQyiA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Julius Volz PromLabs - promlabs.com -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAObpH5wcV1J58dgQvoDFNoHe4gq3OfPthz94MOH5wS%2BBVRBjcg%40mail.gmail.com.

