diff --git a/src/AppComponent.hpp b/src/AppComponent.hpp index 15cf916..1409589 100644 --- a/src/AppComponent.hpp +++ b/src/AppComponent.hpp @@ -33,7 +33,7 @@ class AppComponent { */ OATPP_CREATE_COMPONENT(std::shared_ptr, serverConnectionProvider)([] { /* non_blocking connections should be used with AsyncHttpConnectionHandler for AsyncIO */ - return oatpp::network::tcp::server::ConnectionProvider::createShared({"localhost", 8000}); + return oatpp::network::tcp::server::ConnectionProvider::createShared({"0.0.0.0", 8000, oatpp::network::Address::IP_4}); }()); /**