Skip to content

Commit

Permalink
Update content/en/docs/instrumentation/cpp/getting-started.md
Browse files Browse the repository at this point in the history
Co-authored-by: Severin Neumann <[email protected]>
  • Loading branch information
Akhaled19 and svrnm authored Feb 1, 2024
1 parent 1158b10 commit 0827b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/cpp/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ void run() {
auto router = oatpp::web::server::HttpRouter::createShared();
router->route("GET", "/rolldice", std::make_shared<Handler>());
auto connectionHandler = oatpp::web::server::HttpConnectionHandler::createShared(router);
auto connectionProvider = oatpp::network::tcp::server::ConnectionProvider::createShared({"localhost", 8000, oatpp::network::Address::IP_4});
auto connectionProvider = oatpp::network::tcp::server::ConnectionProvider::createShared({"localhost", 8080, oatpp::network::Address::IP_4});
oatpp::network::Server server(connectionProvider, connectionHandler);
OATPP_LOGI("Dice Server", "Server running on port %s", connectionProvider->getProperty("port").getData());
server.run();
Expand Down

0 comments on commit 0827b50

Please sign in to comment.