aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver
diff options
context:
space:
mode:
authorzousar <[email protected]>2023-10-12 08:37:41 -0600
committerGitHub <[email protected]>2023-10-12 08:37:41 -0600
commitc2310e7f9f1ffd60184ad9b5e4ae79d34122e6a6 (patch)
treeff3514b444bc6943e2668f8f145bf1c9b00556fc /src/zenserver
parentUpdate README.md (diff)
parentMerge remote-tracking branch 'origin/main' into zs/default-port-change (diff)
downloadzen-c2310e7f9f1ffd60184ad9b5e4ae79d34122e6a6.tar.xz
zen-c2310e7f9f1ffd60184ad9b5e4ae79d34122e6a6.zip
Merge pull request #465 from EpicGames/zs/default-port-change
Change default port to 8558
Diffstat (limited to 'src/zenserver')
-rw-r--r--src/zenserver/config.cpp2
-rw-r--r--src/zenserver/config.h2
-rw-r--r--src/zenserver/objectstore/objectstore.h2
-rw-r--r--src/zenserver/vfs/vfsservice.cpp4
-rw-r--r--src/zenserver/zenserver.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/zenserver/config.cpp b/src/zenserver/config.cpp
index cdd1fb031..9112222d6 100644
--- a/src/zenserver/config.cpp
+++ b/src/zenserver/config.cpp
@@ -1011,7 +1011,7 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions)
"p",
"port",
"Select HTTP port",
- cxxopts::value<int>(ServerOptions.BasePort)->default_value("1337"),
+ cxxopts::value<int>(ServerOptions.BasePort)->default_value("8558"),
"<port number>");
options.add_option("httpsys",
diff --git a/src/zenserver/config.h b/src/zenserver/config.h
index d3b20218f..fecf3fe0c 100644
--- a/src/zenserver/config.h
+++ b/src/zenserver/config.h
@@ -123,7 +123,7 @@ struct ZenServerOptions
std::string LogId; // Id for tagging log output
std::string EncryptionKey; // 256 bit AES encryption key
std::string EncryptionIV; // 128 bit AES initialization vector
- int BasePort = 1337; // Service listen port (used for both UDP and TCP)
+ int BasePort = 8558; // Service listen port (used for both UDP and TCP)
int OwnerPid = 0; // Parent process id (zero for standalone)
bool InstallService = false; // Flag used to initiate service install (temporary)
bool UninstallService = false; // Flag used to initiate service uninstall (temporary)
diff --git a/src/zenserver/objectstore/objectstore.h b/src/zenserver/objectstore/objectstore.h
index eaab57794..0fec59b03 100644
--- a/src/zenserver/objectstore/objectstore.h
+++ b/src/zenserver/objectstore/objectstore.h
@@ -21,7 +21,7 @@ struct ObjectStoreConfig
std::filesystem::path RootDirectory;
std::vector<BucketConfig> Buckets;
- uint16_t ServerPort{1337};
+ uint16_t ServerPort{8558};
};
class HttpObjectStoreService final : public zen::HttpService
diff --git a/src/zenserver/vfs/vfsservice.cpp b/src/zenserver/vfs/vfsservice.cpp
index c53682d93..04ba29ed2 100644
--- a/src/zenserver/vfs/vfsservice.cpp
+++ b/src/zenserver/vfs/vfsservice.cpp
@@ -58,8 +58,8 @@ GetContentAsCbObject(HttpServerRequest& HttpReq, CbObject& Cb)
//
// to test:
//
-// echo {"method": "mount", "params": {"path": "d:\\VFS_ROOT"}} | curl.exe http://localhost:1337/vfs --data-binary @-
-// echo {"method": "unmount"} | curl.exe http://localhost:1337/vfs --data-binary @-
+// echo {"method": "mount", "params": {"path": "d:\\VFS_ROOT"}} | curl.exe http://localhost:8558/vfs --data-binary @-
+// echo {"method": "unmount"} | curl.exe http://localhost:8558/vfs --data-binary @-
VfsService::VfsService()
{
diff --git a/src/zenserver/zenserver.cpp b/src/zenserver/zenserver.cpp
index 789952a3c..b1e661973 100644
--- a/src/zenserver/zenserver.cpp
+++ b/src/zenserver/zenserver.cpp
@@ -451,7 +451,7 @@ ZenServer::InitializeStructuredCache(const ZenServerOptions& ServerOptions)
{
if (!Dns.empty())
{
- const asio::error_code Err = utils::ResolveHostname(m_IoContext, Dns, "1337"sv, ZenUrls);
+ const asio::error_code Err = utils::ResolveHostname(m_IoContext, Dns, "8558"sv, ZenUrls);
if (Err)
{
ZEN_ERROR("resolve FAILED, reason '{}'", Err.message());