SA-MP Forums Archive
Multiple servers on same pc - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Multiple servers on same pc (/showthread.php?tid=273797)



Multiple servers on same pc - EleMenTalL - 03.08.2011

Hey,
I have a problem...
I'm using OGP (open game panel) to start my Sa:Mp servers on a dedicated linux host. (Not home etc)

The problem is this...i have 2 ips on same machine, when i start server 1 on xx.xx.xx.1:7777 it's run, no problem anything, but when i start server 2 on xx.xx.xx.2:7777 it overwrite the connection from server 1 and it doesn't matter what ip i user xx.xx.xx.1 or 2 the server run on both ips and the first vanish..


Question: How can i run 2 sa:mp servers on same machine with 2 diferent ips?
I use CentOs x86_x64


Re: Multiple servers on same pc - EleMenTalL - 10.08.2011

no one know?


Re: Multiple servers on same pc - linuxthefish - 10.08.2011

You need to use bind in the server config.

bind 8.8.8.8


Re: Multiple servers on same pc - mprofitt - 11.08.2011

i would us a differnet port as well


Re: Multiple servers on same pc - Spectre - 11.08.2011

What mprofitt said...
I always have two servers running, the primary on 7777 and my test server on 7778...
Once something works flawlessly on the test server then I move it over as the primary...


Re: Multiple servers on same pc - Tee - 12.08.2011

Use different ports and what is the name of the host?


Re: Multiple servers on same pc - Collin - 12.08.2011

You need to have different ports for each server, using the same port "7777" will successfully fail for you, if you want to run 2 servers, use ports "7777 and 7778", if you are able to


Re: Multiple servers on same pc - EleMenTalL - 04.10.2011

Quote:
Originally Posted by Collin
Посмотреть сообщение
You need to have different ports for each server, using the same port "7777" will successfully fail for you, if you want to run 2 servers, use ports "7777 and 7778", if you are able to
But i want to host 2 servers on 7777, this is the reason why i have 2 ip`s... ffs
if i wanted to use 7778 i woudn`t get a second ip adress


Re: Multiple servers on same pc - $India$ - 04.10.2011

Use 2 Different Ports, like.
7777
8888
7784 Any.


Re: Multiple servers on same pc - EleMenTalL - 04.10.2011

Quote:
Originally Posted by $India$
Посмотреть сообщение
Use 2 Different Ports, like.
7777
8888
7784 Any.
Do you know to read?

I HAVE 2 IPs !!!
xx.xxx.xxx.1
xx.xxx.xxx.2

I want to use xx.xxx.xxx.1:7777 and xx.xxx.xxx.2:7777
Not xx.xxx.xxx.1:7777 and xx.xxx.xxx.1:7778 ffs...