HTTP Server listening on Network

Jan 17, 2017 at 8:12 PM
Edited Jan 17, 2017 at 8:13 PM

How do i create a http_listener that can be addressed over the network?
http_listener listener(L"http://localhost:34568");
This works fine for me, i can access it on the same machine. But i can't access it over the network.
Is this because of router settings or do i have to use a different URI for the listener then?
Trying to use any other URI like the network ip of my pc results in a crash when trying to open the listener.