Prometheus Wndows_Exporter err=listen tcp :9182

When I try to install the Prometheus windows _exporter on a Windows 10 22H2 version I get the following error:

caller=exporter.go:232 level=error msg=“cannot start windows_exporter” err=“listen tcp :9182: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.”

I use the msiexec /i windows_exporter-0.25.1-and64.msi command line

Hi @mawashi ,

Welcome to Netdata Forums.

Thanks for raising your question with us, looking to the below point this is specific to windows exporter and the port that it binds on install - this is not a Netdata related issue.

Doing a google search on that part of the message saw this cannot start WMI exporter: listen tcp :9182: bind · Issue #243 · prometheus-community/windows_exporter · GitHub please check if the reboot, as the OP there mentions, fixes the issue. If not, please raise with on the windows_exporter repo.

Regards.

This means you are trying to start a second instance of windows_exporter.

Yes reboot has solved the problem. Thank you