Skip to content

Commit 9f9d71f

Browse files
committed
Update connection provider to use IPv4
1 parent 401b53b commit 9f9d71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AppComponent.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AppComponent {
3333
*/
3434
OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::ServerConnectionProvider>, serverConnectionProvider)([] {
3535
/* non_blocking connections should be used with AsyncHttpConnectionHandler for AsyncIO */
36-
return oatpp::network::tcp::server::ConnectionProvider::createShared({"localhost", 8000});
36+
return oatpp::network::tcp::server::ConnectionProvider::createShared({"0.0.0.0", 8000, oatpp::network::Address::IP_4});
3737
}());
3838

3939
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy