Sometimes I get the following error while I was doing HttpWebRequest to a WebService. I copied my code below too.
System.Net.WebException: Unable to connect
In my scenario, I have two applications:
Assumption: App1 should listen to App2's activities on Port 5000 Error: Starting App1 and trying to listen, to a nonexistent ghost town, produces the error Solution: Start App2 first, then try to listen using App1
Assumption: App1 should listen to App2's activities on Port 5000
Error: Starting App1 and trying to listen, to a nonexistent ghost town, produces the error
Solution: Start App2 first, then try to listen using App1