Host Two Servers, Using Two Different Computers, Using Same Connection.

SlapYou

Dedicated Member
Dedicated Member
Jan 1, 2014
23
0
27
Could anyone advice me of how to make it possible for me to run two servers, as i'm wanting to make two servers, but i can't seem to have the Ports both directed to the same Internal IP.

Would very much like to know how this is done.

Thanks in advance.


P.S I used the Search Function, Couldn't find any additional information about the question i have asked.
 

Elijah

Crystal Dev
Developer
Jul 21, 2004
1,806
18
185
I would think it's possible using a Router to port forward different ports to two different computers, i know it's possible on my Router.

You wouldn't be able to use the same ports for both servers though, set the second server to a different port, 8000 or something, and then forward port 8000 on your Router to the second PC. Obviously forwarding Port 7000 to the first PC.

Config the servers individually for each port.
 

SlapYou

Dedicated Member
Dedicated Member
Jan 1, 2014
23
0
27
I know its possible, just dont understand how its done, as ive always used 7000 7100 7200, what other ports can the server connect through? Of would it be a case of using port 8000 8100 8200 and changing in the server files?
 

Skyline

LOMCN Admin
Staff member
Administrator
Mar 26, 2003
7,151
566
380
Sheffield
It would require you using different ports as mentioned, so you need to change each config file to point to a different port on the second server.

It's up to you to work out what ports to use. Will be guides on google to find such info, or just try frndom ports like 8000 etc
 

SlapYou

Dedicated Member
Dedicated Member
Jan 1, 2014
23
0
27
Ok, i shall give it a shot, thanks for the advice guys, Much Appreciated!
 

SlapYou

Dedicated Member
Dedicated Member
Jan 1, 2014
23
0
27
Yeah ive tryed, But for some reason, it doesnt open 8000,8100,8200 Ports, Ive tryed random numbers, but my router just doesnt seem to open them :/
 

Hazuki

VIP
VIP
Apr 14, 2004
3,459
38
285
United Kingdom
It does work I have 3 or 4 servers running from a single IP in the past.

Might be the files your using? I know some of the older clients hard code 7000 (ignoring the ini file).
 

DjDarkBoyZ

Dev
Golden Oldie
Aug 11, 2006
1,065
228
260
127.Ø.Ø.1
depending of your router you can forward for example:

server 1 lan port 7000
server 2 lan port 7000

External, forward 7000 to lanip of server 1 and port 7000
and
External, forward 8000 to lanip of server 2 and port 7000.

For your understanding, if you use different machine or virtual machines for host a server you can use the same port, the only thing you need is a proper router and forward config on this.

I hope this serves you ;)