You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This resulted in me now getting error 503. The service is unavailable.
When I tried to restart my NT service it wouldn't start anymore with the following error in the log:
2014-10-07 17:22:50,674 [5] ERROR Metrics.MetricsConfig [(null)] - Metrics: error configuring HttpListener
System.Net.HttpListenerException (0x80004005): Access is denied
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at Metrics.Visualization.MetricsHttpListener.Start() in c:\Users\eti\Work\Metrics.NET\Src\Metrics\Visualization\MetricsHttpListener.cs:line 30
at Metrics.MetricsConfig.WithHttpEndpoint(String httpUriPrefix) in c:\Users\eti\Work\Metrics.NET\Src\Metrics\MetricsConfig.cs:line 60
at Metrics.MetricsConfig.ConfigureHttpListener() in c:\Users\eti\Work\Metrics.NET\Src\Metrics\MetricsConfig.cs:line 196
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
You can try changing the prefix from localhost to + :
Metric.Config.WithHttpEndpoint("http://+:1234/")
If this does not work you can try changing the port, maybe some other app is listening on that port.
It is not required, but you could try to start the "net tcp port sharing service".
I am trying to configure the metrics visualizer to use the following endpoint on one of our servers:
http://localhost:1234/
When I reached out to that server by name 'http://servernameremoved:1234' I was greeted by a 400 error.
I then added an ACL entry using:
netsh http add urlacl url=http://+:1234/ user="NETWORK SERVICE"
This resulted in me now getting error 503. The service is unavailable.
When I tried to restart my NT service it wouldn't start anymore with the following error in the log:
2014-10-07 17:22:50,674 [5] ERROR Metrics.MetricsConfig [(null)] - Metrics: error configuring HttpListener
System.Net.HttpListenerException (0x80004005): Access is denied
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at Metrics.Visualization.MetricsHttpListener.Start() in c:\Users\eti\Work\Metrics.NET\Src\Metrics\Visualization\MetricsHttpListener.cs:line 30
at Metrics.MetricsConfig.WithHttpEndpoint(String httpUriPrefix) in c:\Users\eti\Work\Metrics.NET\Src\Metrics\MetricsConfig.cs:line 60
at Metrics.MetricsConfig.ConfigureHttpListener() in c:\Users\eti\Work\Metrics.NET\Src\Metrics\MetricsConfig.cs:line 196
What am I doing wrong?
The text was updated successfully, but these errors were encountered: