Skip to content

Commit

Permalink
Dedicated server: default to 8412 port
Browse files Browse the repository at this point in the history
  • Loading branch information
geneotech committed Jul 27, 2024
1 parent ce7eace commit 43904d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hypersomnia/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@

"server_start": {
"ip": "0.0.0.0",
"port": 0,
"port": 0, // default is 8412 for a dedicated server
"slots": 10
},

Expand Down
1 change: 1 addition & 0 deletions src/make_canon_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ inline void make_canon_config(config_json_table& result, bool is_dedicated_serve

if (is_dedicated_server) {
result.server.allow_nat_traversal = false;
result.server_start.port = 8412;
}

#if PLATFORM_WEB
Expand Down

0 comments on commit 43904d3

Please sign in to comment.