/* Get connection handler component */
OATPP_COMPONENT(std::shared_ptr<oatpp::network::ConnectionHandler>, connectionHandler, "https");
// Get connection provider component (https)
OATPP_COMPONENT(std::shared_ptr<oatpp::openssl::server::ConnectionProvider>, connectionProvider);
// Create server which takes provided TCP connections and passes them to HTTPS connection handler
oatpp::network::Server server(connectionProvider, connectionHandler);
After that, I can connect to the server at localhost, but I cannot use the other PC to connect this server via the host IP
Is there any suggestion?
BTW, If I use HTTP to create the connection provider, It works
Hi,
I'd like to create a web server with https, so I use this module as the following step:
Step1: use oatpp-openssl library to create a connection provider component in AppComponent.cpp:
Step2: create server in the App.cpp
After that, I can connect to the server at localhost, but I cannot use the other PC to connect this server via the host IP
Is there any suggestion?
BTW, If I use HTTP to create the connection provider, It works