meltwater / served

A C++11 RESTful web server library
MIT License
710 stars 173 forks source link

Expose server? #65

Closed blastbeng closed 4 years ago

blastbeng commented 4 years ago

Hi, awesome lib, i'm trying to use ti to expose a json from outside my local network but i can't figure out how to make the server listen to 0.0.0.0, that's what i tried so far:

served::net::server server("192.168.1.193", "8123", mux);

served::net::server server("0.0.0.0", "8123", mux);

but stil I cannot connect from outside localhost

blastbeng commented 4 years ago

My bad.. i had firewalld running and blocking port 8123