quakejs
quakejs copied to clipboard
How to run PUBLIC dedicated server
After setting up everything, I'am getting this info:
--- Common Initialization Complete --- Hostname: emscripten IP: 172.XX.X.X <-- my server ip addresss? Opening IP socket: 0.0.0.0:27960 ignoring setsockopt command execing server.cfg
But I can only connect to the server by the local host link: http://www.quakejs.com/play?connect%20localhost:27960
When I try to connect with "http://www.quakejs.com/play?connect%20172.xx.x.x:27960 -" I have only a loading screen with "Awaiting challange" message.
How to make it public so anyone could join it?
That's an intricate question.
IP address 172.XX.X.X is so called private network, it can't be propagated through the internet.
- If you want to have a public server, you need a public IP address. You can find it here.
- Then you need to find out, it you are behind a NAT. 2.a) if not, skip this step 2.b) If you are, you need to set port forwarding on your router. This basically says to your router that every piece of traffic from the internet on port 27960 should be forwarded to your IP address (172.XX.X.X) to port 27960.
- Now you should be able to connect to your server with http://www.quakejs.com/play?connect%20---YOUR-PUBLIC-IP---:27960
Some ISPs block incoming connections unless you request it specifically. I will get this SOCKS proxy posted in the cloud and then anyone can connect.