Closed 410-ghost closed 3 months ago
The server wants to listen at the standard https port 443 but another process already opened the server socket. Maybe you have already a webserver running?
Totzmaster is correct; As a workaround, you can use --http-port 40000 --https-port 40001
when running the server to use ports other than 80/8080 and 443/8443.
oww yes 443 and 80 is used for nginx where do i modify thath tho
You can try cargo run -- --http-port 40000 --https-port 40001
or use those arguments on whatever other command you are using to run the game e.g. ./kiomet --http-port 40000 --https-port 40001
. If you want to expose the server via NGINX, you can use NGINX reverse proxy aka proxy_pass
.
now i have that error
[INFO game_server::plasma] executing plasma request: Heartbeat { game_id: Kiomet, server_id: Local/25, player_count: 0, client_hash: 55335, unhealthy: false, cpu: 0.025064353, ram: 0.37880683 } [WARN game_server::plasma] <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
(code 404 Not Found)
That's a WARNing and an INFOrmation, not an ERROR. The 404 is not from kiomet. Try navigating to the port you specified (<server IP>:40000
).
yeah i tried that maybe its the firewall because i cant acces the game
all fine and working ty <3
[ERROR game_server::entry_point] https server stopped: Err(Os { code: 98, kind: AddrInUse, message: "Address already in use" }) [ERROR game_server::infrastructure] infrastructure stopped