Reputation: 1709
I'm studying programming and as part of my project I have to use the system log. I have therefore chosen NLog but I find myself confronted with a problem.
I followed the tutorial available on the official website of NLog ( NLog documentation ) but when I start the project I get an error endpoint.
The complete error: There was no endpoint listening at http://localhost:5000/LogReceiver.svc that could accept the message. This is often caused by an incorrect address or SOAP action.
Thank you in advance.
Upvotes: 1
Views: 244
Reputation: 2897
Its trying to connect to another application running on your phone (localhost) on port 5000. Likely there is no such aplication running. If you are running some log server on your machine, then you need to configure your phone app's nlog config to point to the ip address of your machine, or where ever the server is running.
Upvotes: 2