summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-28 21:44:16 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-28 21:44:16 +0200
commit6f2109a3321102f622d9ca05483f00b5ad936249 (patch)
tree2460290d2fc304b951825135350525e70cde2842
parentd5d815cece8cbe3a021f174022807aeee94f2cdd (diff)
downloadhurrycurry-6f2109a3321102f622d9ca05483f00b5ad936249.tar
hurrycurry-6f2109a3321102f622d9ca05483f00b5ad936249.tar.bz2
hurrycurry-6f2109a3321102f622d9ca05483f00b5ad936249.tar.zst
change discovery port
-rw-r--r--protocol.md3
-rw-r--r--server/discover/src/main.rs2
2 files changed, 2 insertions, 3 deletions
diff --git a/protocol.md b/protocol.md
index 4e5ab475..9562ab6f 100644
--- a/protocol.md
+++ b/protocol.md
@@ -45,9 +45,8 @@ sending a packet to update that of the other player.
- 443: All uses with TLS
- 27032: Game Server Websocket
-- 27033: Registry API HTTP
+- 27033: Registry API HTTP / Local dicovery service
- 27034: Lobby Server Websocket
-- 27035: Local discovery service API
## Binary Protocol
diff --git a/server/discover/src/main.rs b/server/discover/src/main.rs
index 1c23de85..fabf7946 100644
--- a/server/discover/src/main.rs
+++ b/server/discover/src/main.rs
@@ -83,7 +83,7 @@ async fn async_main() -> Result<!> {
}
});
- let listener = TcpListener::bind("127.0.0.1:27035").await?;
+ let listener = TcpListener::bind("127.0.0.1:27033").await?;
loop {
let (stream, _) = listener.accept().await?;
let entries = entries.clone();