From f523d12fa1b19569be7c4d0ef835a89123029147 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 20 Sep 2022 11:41:39 +0200 Subject: [PATCH] ZRColaWS: Set default listen port to 54591 The 8000 is Oat++ sample port. Signed-off-by: Simon Rozman --- ZRColaWS/zrcolaws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZRColaWS/zrcolaws.cpp b/ZRColaWS/zrcolaws.cpp index 4dd7f0e..38fe90a 100644 --- a/ZRColaWS/zrcolaws.cpp +++ b/ZRColaWS/zrcolaws.cpp @@ -147,7 +147,7 @@ int main(int argc, const char* argv[]) sigaction(SIGINT, &sigIntHandler, NULL); oatpp::String host = cmdArgs.getNamedArgumentValue("--host", "localhost"); - v_uint16 port = oatpp::utils::conversion::strToInt32(cmdArgs.getNamedArgumentValue("--port", "8000")); + v_uint16 port = oatpp::utils::conversion::strToInt32(cmdArgs.getNamedArgumentValue("--port", "54591")); oatpp::network::Address::Family family = oatpp::network::Address::UNSPEC; if (cmdArgs.hasArgument("-4")) family = oatpp::network::Address::IP_4;