Page 1 of 1

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

PostPosted: 14 Sep 2011, 23:15
by orbitaldecay
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.

Re: Problem specifying IP for public server

PostPosted: 15 Sep 2011, 02:37
by orbitaldecay
Scratch that, I figured out the problem (nothing to do with Red Eclipse). Nothing to see here ...

Re: Problem specifying IP for public server

PostPosted: 15 Sep 2011, 03:48
by qreeves
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.

Re: Problem specifying IP for public server

PostPosted: 15 Sep 2011, 16:22
by orbitaldecay
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.

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

PostPosted: 16 Sep 2011, 04:11
by qreeves
Oh yeah, master server connection is TCP.