Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2013, 08:47 PM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default Is it possible?

I have 2 IP addres on my VPS that runs my EQ Server. I would like for my main server to run on one IP and a test server to run on the second IP. I tried editing my configs and specifically setting the IP addresses (<address> and <localaddress> ) however my main server (launched first) seems to use all available IP's instead of only using the one specified. It'd be great if it was possible to do this, I know there are some parts of eqemu_config.xml.

Here's to hoping
-Hnath/Webbe
Reply With Quote
  #2  
Old 10-31-2013, 05:21 PM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default

Looking through the code (with my limited knowledge of c++) I discovered INADDR_ANY in the all of the socket bind files (streamfactory, tcpserver, etc). My research of this constant (which turns out to be 0) says that it basically tells bind() to bind on all available interfaces. Which is EXACTLY what I don't want.

I have replaced them with pton("WorldAddress") and managed to get it to compile. The login server works (haven't tested if it binds on all addresses or not) world launches without error. The zone launcher starts and zones connect but disconnect and continually try to reconnect.

I'll play around with it a little more and post my results. Hopefully I can get this working, I'd really like to have a test server hosted on my VPS.
Reply With Quote
  #3  
Old 02-06-2014, 05:23 PM
initium
Fire Beetle
 
Join Date: Apr 2011
Posts: 12
Default

I ran into the same issue, so I'll be interested to see if you're able to fix it.

My solution has been to have the two separate setups and just use different start/stop scripts. Not an ideal, long term solution.

I'm also working on setting up VMs (with kvm) to see if I can get a couple working using a bridged network card.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:08 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3