We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401b53b commit 9f9d71fCopy full SHA for 9f9d71f
src/AppComponent.hpp
@@ -33,7 +33,7 @@ class AppComponent {
33
*/
34
OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::ServerConnectionProvider>, serverConnectionProvider)([] {
35
/* non_blocking connections should be used with AsyncHttpConnectionHandler for AsyncIO */
36
- 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});
37
}());
38
39
/**
0 commit comments