I am using HttpAsyncServer inside my Main(...) to listen on port 8081, locally (I run it from Visual Studio, that is launched as administrator):

var server = new HttpAsyncServer(new string[] { "http://192.168.0.101:8081/" });
server.RunServer();
for(; ; )
{
    Thread.Sleep(30000);
}

I can access this server from my local machine (the one that creates the server), via http://192.168.0.101:8081.

Unfortunately, all other devices in my local network cannot load the page from server.

I've already set up Windows firewall rule to allow incoming/outgoing traffic. I've also tried changing local IP address of my machine in code to +, with the exact same result:

var server = new HttpAsyncServer(new string[] { "http://+:8081/" });

0 Answers