It's the same as Linux: you need to apply the appropriate command line option.
If it's running as a Windows service, I believe you should be able to edit the options passed to the service using service settings and/or regedit. Google says: https://stackoverflow.com/questions/1488851/how-to-pass-a-parameter-to-a-windows-service-once-and-for-all-at-install-instead https://darko-subic.medium.com/changing-windows-service-start-parameters-8cc004b41a9e On Friday, 18 August 2023 at 11:35:53 UTC+1 Abhishek Kurmi wrote: > I success fully changed a port in Linux of Prometheus and node exporter > default port. > But now I want to change a port in Windows of Prometheus and windows > exporter , there is no config file or .service file in windows and when I > my trying to change port in Promethues.yml, even after that these service > is running on default port. > > Please suggest me how can I change a default port in windows of Prometheus > and windows exporter. > -- 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/dafb6d46-340a-4adb-ae13-1dda540d83f1n%40googlegroups.com.

