Multiple servers on same pc
#1

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
Reply
#2

no one know?
Reply
#3

You need to use bind in the server config.

bind 8.8.8.8
Reply
#4

i would us a differnet port as well
Reply
#5

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...
Reply
#6

Use different ports and what is the name of the host?
Reply
#7

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
Reply
#8

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
Reply
#9

Use 2 Different Ports, like.
7777
8888
7784 Any.
Reply
#10

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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)