I have a simple console app which has the following line of code:
Session session = new Session(username);
It always throws the following error
{"Unable to connect to service. Please see inner exception for details: There was
no endpoint listening at `http://localhost:81/webservices/Configuration/ReadService.svc`
that could accept the message. This is often caused by an incorrect address or
SOAP action. See InnerException, if present, for more details."}
It seems like I have a config file somewhere pointing at port 81 on my server. Where is this configured? When I access http://localhost/webservices/Configuration/ReadService.svc
on my machine I can see the web service.
I tried searching my machine for references to localhost:81, but that didn't seem to reveal the answer.