Posts: 175
Threads: 9
Joined: Aug 2010
is it possible to prevent samp server from using the same port as other server might be?
because if I try running 2 servers with port 7777 one overrides the other, it should instead, give an error or something.
Any solutions?
Thanks in advance!
Posts: 508
Threads: 146
Joined: Jan 2014
Reputation:
0
Idk what you mean but, open server.cfg of 2nd server> edit the port of the 2nd server to whatever> save> Start server> done
Posts: 175
Threads: 9
Joined: Aug 2010
Quote:
Originally Posted by Mriss
Idk what you mean but, open server.cfg of 2nd server> edit the port of the 2nd server to whatever> save> Start server> done
|
I'm trying to figure out a way to prevent from 2 servers having the same port and at the same time letting the player edit his server.cfg.
because 2 servers with the same port, the previous will go down.
Posts: 166
Threads: 25
Joined: Jul 2013
Reputation:
0
You can't have two IPs with the same port, you need to change one
Posts: 175
Threads: 9
Joined: Aug 2010
would "bind" help prevent using the same port?
Posts: 487
Threads: 35
Joined: Oct 2013
Reputation:
0
I don't think so.
It is not possible to have two servers with same IPs and same ports.
One port needs to be changed like ConnorHunter said.
Posts: 175
Threads: 9
Joined: Aug 2010
Quote:
Originally Posted by iFiras
I don't think so.
It is not possible to have two servers with same IPs and same ports.
One port needs to be changed like ConnorHunter said.
|
I know, but imagine a new server by mistake has the same port, it will replace the other server that is occupying the port.
Posts: 1,696
Threads: 6
Joined: Dec 2008
Quote:
Originally Posted by driftpower
I know, but imagine a new server by mistake has the same port, it will replace the other server that is occupying the port.
|
Then make sure you chose an available port.
Posts: 19
Threads: 2
Joined: Apr 2014
If I understood your question right, then no.