SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 03/08/2011, 10:59 AM   #1
EleMenTalL
Big Clucker
 
Join Date: Jul 2011
Posts: 83
Reputation: 0
Angry Multiple servers on same pc

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
EleMenTalL is offline   Reply With Quote
Old 10/08/2011, 11:47 PM   #2
EleMenTalL
Big Clucker
 
Join Date: Jul 2011
Posts: 83
Reputation: 0
Default Re: Multiple servers on same pc

no one know?
EleMenTalL is offline   Reply With Quote
Old 10/08/2011, 11:53 PM   #3
linuxthefish
High-roller
 
linuxthefish's Avatar
 
Join Date: Dec 2010
Location: Al-Dunya
Posts: 2,857
Reputation: 690
Default Re: Multiple servers on same pc

You need to use bind in the server config.

bind 8.8.8.8
__________________

linuxthefish is offline   Reply With Quote
Old 11/08/2011, 12:03 AM   #4
mprofitt
Huge Clucker
 
Join Date: Jul 2008
Posts: 459
Reputation: 14
Default Re: Multiple servers on same pc

i would us a differnet port as well
mprofitt is offline   Reply With Quote
Old 11/08/2011, 08:25 PM   #5
Spectre
Big Clucker
 
Join Date: May 2006
Posts: 59
Reputation: 0
Default Re: Multiple servers on same pc

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...
Spectre is offline   Reply With Quote
Old 12/08/2011, 04:00 AM   #6
Tee
Gangsta
 
Join Date: Sep 2010
Posts: 836
Reputation: 81
Default Re: Multiple servers on same pc

Use different ports and what is the name of the host?
__________________
1.3 inch/360 - pretty high for precision
Tee is offline   Reply With Quote
Old 12/08/2011, 09:52 PM   #7
Collin
Little Clucker
 
Join Date: Jul 2011
Posts: 17
Reputation: 1
Default Re: Multiple servers on same pc

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
__________________
Collin is offline   Reply With Quote
Old 04/10/2011, 10:36 AM   #8
EleMenTalL
Big Clucker
 
Join Date: Jul 2011
Posts: 83
Reputation: 0
Default Re: Multiple servers on same pc

Quote:
Originally Posted by Collin View Post
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
EleMenTalL is offline   Reply With Quote
Old 04/10/2011, 10:57 AM   #9
$India$
Big Clucker
 
Join Date: Aug 2011
Location: India
Posts: 170
Reputation: 9
Default Re: Multiple servers on same pc

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


UPDATED: 15/10/2011
__________________________________________________ ______
SCRIPTING & MAPPING FOR FREE, PM ME NOW...
You want an Animated or simple signature? PM ME Now, Maybe i can do it for free.
I Need a Web Designer and a PHP Coder, Will be paying, You may know PHP/CSS etc.
$India$ is offline   Reply With Quote
Old 04/10/2011, 02:54 PM   #10
EleMenTalL
Big Clucker
 
Join Date: Jul 2011
Posts: 83
Reputation: 0
Angry Re: Multiple servers on same pc

Quote:
Originally Posted by $India$ View Post
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...
EleMenTalL is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple uses of /set cloudysky Help Archive 4 12/07/2011 04:33 PM
multiple servers with multiple ips on linux yakuzza Server Support 2 09/10/2010 07:08 PM
Multiple dedicated servers? ionaustinb Client Support 2 13/06/2010 03:54 PM
servers don't show up...0 players, playing on 0 servers kevin71394 Client Support 14 17/07/2009 12:31 PM


All times are GMT. The time now is 08:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.