View Full Version : Changing world port
provocating
07-21-2009, 01:49 PM
I can seem to get multiple worlds to attach to the private login server but here is where it seems to get tricky. Can you actually change the port of world.exe ? From what I read on a previous post it uses port 9000 and cannot change. This means that I cannot have multiple servers behind one router correct
?
nosfentora
07-21-2009, 02:53 PM
I know there's a setting in the config file, but i don't know if it's actually used or not.
<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="enable"/>
provocating
07-21-2009, 02:54 PM
I had thought that someone said it was hard coded in. Can anyone confirm ?
provocating
07-21-2009, 02:58 PM
I did find this.
http://www.eqemulator.net/forums/showthread.php?t=24754&highlight=port+9000
nosfentora
07-21-2009, 03:03 PM
a quick search of the source code and i found
#define EQ_WORLD_PORT 9000 //mandated by the client
which probably means that it is hardcoded. now that i think about it i do remember hearing that it was hardcoded. whether that has changed or not, i don't know.
provocating
07-21-2009, 03:05 PM
If the client looks for it in port 9000 I am stuck in the water anyway I guess. Is my thinking right on that ?
cavedude
07-21-2009, 03:34 PM
Yes, the client looks for world on port 9000 so there is no way we can change that.
nosfentora
07-21-2009, 03:39 PM
i'd say so, though i thought i read some posts about someone getting it working a *while* back, but it was fairly complicated.
cavedude
07-21-2009, 04:14 PM
Oh, it's certainly possible but yes fairly complicated.
Kobaz
07-21-2009, 05:33 PM
On Linux you might find that IP aliasing will work. So each server binds to port 9000 on a different IP address. You'll possibly have to bind to alternative addresses on the 127.0.0.0 network as well so that world and zone can talk to each other, as well as letting the LoginServer make sense.
nosfentora
07-22-2009, 09:37 AM
another solution might be using vm's if you're windows based.
provocating
07-22-2009, 09:50 AM
I am beyond all of that. The problem is when the packet comes into the router on port 9000, you can only send that to one IP address.
nosfentora
07-22-2009, 10:10 AM
I know there is a way to do it with vm's, and behind a router, but it is complicated and would take alot of fiddling. i'm sure the same is true with linux ip ailiasing.
Yeormom
07-22-2009, 11:44 AM
If you are trying to run two servers across the Internet, you must have two real IP addresses. If you are running multiple worlds on your private network and have no intention of others connecting from outside, you can use all kinds of fun addresses.
Davood
11-05-2009, 03:02 PM
I hate to bump an old post but I am trying to figure this out myself so that I can run 3 eqemu servers;
apparently there might be a way with ISA server? or pound commands with linux???
basically the solution is to use subdomains and that way be able to use the same port for multiple computers on the same LAN/WAN
What I want to know is.. is there a router that can do this ? So that I don't have to dedicate a box for it?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.