Skip to content

Commit 59cff09

Browse files
committed
Update connection provider to use IPv4
1 parent b51f424 commit 59cff09

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
@@ -43,7 +43,7 @@ class AppComponent {
4343
* Try to make sure you are using libtls, libssl, and libcrypto from the same package
4444
*/
4545

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

4949
/**

0 commit comments

Comments
 (0)