We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ae161f commit 0289fc6Copy full SHA for 0289fc6
src/AppComponent.hpp
@@ -36,7 +36,7 @@ class AppComponent {
36
*/
37
OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::ServerConnectionProvider>, serverConnectionProvider)([] {
38
/* non_blocking connections should be used with AsyncHttpConnectionHandler for AsyncIO */
39
- 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});
40
}());
41
42
/**
0 commit comments