Xonotic is a free, open source (GPL) ultra-fast, first-person shooter


Follow Xonotic on

Post Reply 
When I host a game, my friends cannot connect/see it.
05-13-2012, 12:42 AM
Post: #1
When I host a game, my friends cannot connect/see it.
Hi everyone,

I introduced Xonotic to two of my friends and I played with one of them online on an already created map/server but then when I proceeded to create my own so that we can all play together (along with bots), everything worked as expected except for the fact that my friends could not connect to my game when I gave them my global IP address. They even checked in the list of servers and couldn’t find my game. I’m running Windows Server 2008 R2 (x64) and I went to Windows Firewall with Advanced Security and enabled inbound/outbound rules to open the 26000 port because based on other create games that seemed to be the port required. I then proceeded to configure my D-Link DI-524 router to enable port forwarding with 26000 as the private and public ports and my private IP address being that of the computer I’m using (my local IP address is static). Dealing with networks is my weakness as far as computers are concerned so I would appreciate it if someone could help me resolve this issue so I can play a customized game suited for my friends and I.

Any help would be greatly appreciated!
Thanks in advance!

P.S.
I am running the server edition of Windows because it runs less services by default and I prefer worrying about enabling services I need than hunting down and disabling services I don’t need. That and I get it for free since I’m a student. I’m also a Debian GNU/Linux user but I haven’t tried this on Debian since I have major audio issues I have to deal with first.
Find all posts by this user
Quote this message in a reply
05-13-2012, 02:29 AM
Post: #2
RE: When I host a game, my friends cannot connect/see it.
(05-13-2012 12:42 AM)s3a Wrote:  I’m running Windows

I found the problem!
Find all posts by this user
Quote this message in a reply
05-13-2012, 03:07 AM
Post: #3
RE: When I host a game, my friends cannot connect/see it.
Code:
sv_public 1
should show your server in the public list. Can you connect to other (public) servers?

I must admit I didn't read all of your original post Confused
Find all posts by this user
Quote this message in a reply
05-13-2012, 04:03 AM (This post was last modified: 05-13-2012 04:04 AM by Mr. Bougo.)
Post: #4
RE: When I host a game, my friends cannot connect/see it.
How do you host the game? "Create" tab or dedicated server? Make sure that sv_public is not set to -2 or smaller.

Also make sure that the port you forwarded in your router was set as UDP or UDP&TCP, not just TCP.

And please read the server log, see if it says it successfully bound 0.0.0.0:26000 or something like that.

[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Find all posts by this user
Quote this message in a reply
05-17-2012, 08:19 PM
Post: #5
RE: When I host a game, my friends cannot connect/see it.
I had the same issue when running on linux. It turned out that my router firewall was preventing them from connecting.

Also, I never did get my server to show up in the server list. I probably did not have my ports forwarded correctly, as Mr. Bougo said. Now I just run my amazon server, or at least I did until my wifi card died :/
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Heart Old XST code for managing multiple game servers with TMUX -z- 1 576 12-20-2013 03:18 AM
Last Post: -z-
  Looking for a company to host Xonotic for me tbutlerPBL 2 780 08-10-2013 05:41 AM
Last Post: roxservers
  How do I host a single map on a hosted Windows Server tbutlerPBL 19 2,963 07-22-2013 03:38 PM
Last Post: Mr. Bougo
  [WIP] Xon_Rcon - In-Game Rcon Tool sqamsqam 12 2,946 06-20-2013 12:20 PM
Last Post: Mr. Bougo
  Adding or replacing in game music? end user 5 706 03-07-2013 03:27 PM
Last Post: Mr. Bougo
  how to make game modes votable Morphed 49 8,179 02-20-2013 08:27 PM
Last Post: end user
  [SOLVED] [Q] Restrict RCON sessions to local host only nonenone 4 1,620 04-12-2012 06:48 AM
Last Post: nonenone
  North America game server hosting suggestions? nifrek 5 2,594 03-12-2012 01:00 AM
Last Post: nifrek
  Client fails to connect to server Crypto_DecryptPacket Failed? evit 3 1,120 02-05-2012 01:49 PM
Last Post: evit
  is a static ip needed to host a game server? greasem0nkey 9 7,339 02-07-2011 12:11 AM
Last Post: JayWalker

Forum Jump: