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
  How to change game to instagib through client? sgtsob 2 793 11-01-2016 12:31 AM
Last Post: sgtsob
  Host custom maps on Google Drive sgtsob 3 671 10-27-2016 12:05 AM
Last Post: sgtsob
  Server won't let more than 1 connect at a time nightspawn9911 7 759 08-02-2016 12:18 AM
Last Post: Mario
  BuddyFriendGuy Pick Up Game (bfgpug) Server BuddyFriendGuy 4 1,287 07-05-2016 01:02 AM
Last Post: BuddyFriendGuy
  Servers not showing in game for some end user 3 1,016 11-14-2015 05:27 PM
Last Post: end user
  [SOLVED] end of game music BuddyFriendGuy 1 821 07-31-2015 11:34 PM
Last Post: Mario
Heart Old XST code for managing multiple game servers with TMUX -z- 1 1,584 12-20-2013 03:18 AM
Last Post: -z-
  Looking for a company to host Xonotic for me tbutlerPBL 2 1,464 08-10-2013 05:41 AM
Last Post: roxservers
  How do I host a single map on a hosted Windows Server tbutlerPBL 19 7,426 07-22-2013 03:38 PM
Last Post: Mr. Bougo
  [WIP] Xon_Rcon - In-Game Rcon Tool sqamsqam 12 6,631 06-20-2013 12:20 PM
Last Post: Mr. Bougo

Forum Jump: