server port override [+REP] - 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: server port override [+REP] (
/showthread.php?tid=514965)
server port override [+REP] -
driftpower - 24.05.2014
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!
Re: server port override [+REP] -
Mriss - 24.05.2014
Idk what you mean but, open server.cfg of 2nd server> edit the port of the 2nd server to whatever> save> Start server> done
Re: server port override [+REP] -
driftpower - 24.05.2014
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.
Re: server port override [+REP] -
ConnorHunter - 24.05.2014
You can't have two IPs with the same port, you need to change one
Re: server port override [+REP] -
driftpower - 24.05.2014
would
"bind" help prevent using the same port?
Re: server port override [+REP] -
iFiras - 24.05.2014
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.
Re: server port override [+REP] -
driftpower - 24.05.2014
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.
Re: server port override [+REP] -
Khanz - 24.05.2014
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.
Re: server port override [+REP] -
AustinHamilton - 24.05.2014
If I understood your question right, then no.