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 Dec 7, 2023
1 parent 0f4f445 commit c8bdac8
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 @@ -275,7 +275,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("MyApp", "Server running on port %s", connectionProvider->getProperty("port").getData());
server.run();
Expand Down

0 comments on commit c8bdac8

Please sign in to comment.