I am suddenly have a problem with an application I created that uses ServiceStack to host a service. I am calling it using a simple system.web request with JSON. Everything was great until today when I got back to the project and keep getting refused connections. I see that Visual Studio did an automatic update of ServiceStack on Friday. And just now I used the Nuget package manager and updated everything in the server host solution. I still get the connection refused. I just can’t think of anything that would have changed except for the update. And I had not applied that to the project when the problem started.
System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:1377 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) — End of inner exception stack trace — at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte data, WebRequest& request) at System.Net.WebClient.UploadString(Uri address, String method, String data)