(Edit: Not a) problem specifying IP for public server

(Edit: Not a) problem specifying IP for public server

Postby orbitaldecay » 14 Sep 2011, 23:15

I would like for someone to attempt to reproduce the following error:

I have multiple dedicated IPs for my server. All of these IPs are visible to the internet. The "serverip" field in servinit.cfg exists to tell the RE server which IP to bind to. It is normally commented out. When I provide an IP for an interface other than my primary interface, the RE server is no longer able to contact the master server (see bellow). I am able to bind other services to the IP and use them successfully.

When commented out:
{l Code}: {l Select All Code}
init: server (*:28797)
dedicated server started, waiting for clients...
looking up play.redeclipse.net:[28800]...
updating master server
master server reply: server initiated


The IP of my first interface is 108.59.251.72. If I set "serverip 108.59.251.72" it works:
{l Code}: {l Select All Code}
init: server (108.59.251.72:28797)
dedicated server started, waiting for clients...
looking up play.redeclipse.net:[28800]...
updating master server
master server reply: server initiated


Another interface has the IP 108.59.251.xxx. When changed to "serverip 108.59.251.xxx"
{l Code}: {l Select All Code}
init: server (108.59.251.xxx:28797)
dedicated server started, waiting for clients...
looking up play.redeclipse.net:[28800]...
could not connect to master server


This is on a Debian box using two virtual interfaces -- it is entirely possible that something in my configuration is screwy, which is why I'd like to see if anyone can reproduce it (Edit: before I start digging at the code :)) Thanks.
Last edited by orbitaldecay on 15 Sep 2011, 17:01, edited 5 times in total.
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Problem specifying IP for public server

Postby orbitaldecay » 15 Sep 2011, 02:37

Scratch that, I figured out the problem (nothing to do with Red Eclipse). Nothing to see here ...
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: Problem specifying IP for public server

Postby qreeves » 15 Sep 2011, 03:48

orbitaldecay {l Wrote}:Scratch that, I figured out the problem (nothing to do with Red Eclipse). Nothing to see here ...

Out of curiosity, what was it? Might help answer a similar question in he future.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Problem specifying IP for public server

Postby orbitaldecay » 15 Sep 2011, 16:22

qreeves {l Wrote}:
orbitaldecay {l Wrote}:Scratch that, I figured out the problem (nothing to do with Red Eclipse). Nothing to see here ...

Out of curiosity, what was it? Might help answer a similar question in he future.


Good point, though it was kind of a stupid mistake. I had a firewall rule in place blocking all TCP traffic going to that IP and I had forgotten to turn it off ;) I suppose it is worth noting that if you're running a public RE server, you'll need to allow some TCP traffic to fly around as well. So in short, if all else fails, check your firewall rules.
[ Wazu Clan ][ irc.wazuclan.com #wazuclan ][ http://www.orbitaldecay.com ]
User avatar
orbitaldecay
 
Posts: 180
Joined: 12 May 2011, 00:32
Location: Baltimore, MD, US

Re: (Edit: Not a) problem specifying IP for public server

Postby qreeves » 16 Sep 2011, 04:11

Oh yeah, master server connection is TCP.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Who is online

Users browsing this forum: No registered users and 0 guests