Skip to content

Commit

Permalink
Update connection provider to use IPv4
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed Oct 23, 2020
1 parent b51f424 commit 59cff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppComponent.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class AppComponent {
* Try to make sure you are using libtls, libssl, and libcrypto from the same package
*/

return oatpp::libressl::server::ConnectionProvider::createShared(config, {"localhost", 8443});
return oatpp::libressl::server::ConnectionProvider::createShared(config, {"0.0.0.0", 8443, oatpp::network::Address::IP_4});
}());

/**
Expand Down

0 comments on commit 59cff09

Please sign in to comment.