I have a .net service that runs an HTTPListener on port 8080.
In this scenario, we are running a client on the same machine as the server, connecting at localhost:8080.
On our demo machine (great!), when the internet is not connected, all connections to the server fail.
I do have two errors in my logs:
The I/O operation has been aborted because of either a thread exit or an application request at System.Net.HttpListener.EndGetContext(IAsyncResult asyncResult)
AND
Unexpected error: The handle is invalid
When i run netstat on the demo machine, I notice that with a network connection, the failing machine has a local address listening at COMPUTERNAME:8080. However, other working machines have 0.0.0.0:8080 listed in this place.
There doesn't seem to be any firewall running.
EDIT: The demo machine is Windows XP, and this has happened before (also on a Windows XP machine) but I'm not currently able to reproduce it, even on a Windows XP install.)
Any idea what the problem is?