quakejs icon indicating copy to clipboard operation
quakejs copied to clipboard

How to run PUBLIC dedicated server

Open hamstermaner opened this issue 5 years ago • 2 comments

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?

hamstermaner avatar Dec 27 '18 00:12 hamstermaner

That's an intricate question.

IP address 172.XX.X.X is so called private network, it can't be propagated through the internet.

  1. If you want to have a public server, you need a public IP address. You can find it here.
  2. 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.
  3. Now you should be able to connect to your server with http://www.quakejs.com/play?connect%20---YOUR-PUBLIC-IP---:27960

Hologos avatar Dec 27 '18 05:12 Hologos

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.

ghost avatar Feb 12 '20 04:02 ghost