server port override [+REP]
#1

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

Idk what you mean but, open server.cfg of 2nd server> edit the port of the 2nd server to whatever> save> Start server> done
Reply
#3

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

You can't have two IPs with the same port, you need to change one
Reply
#5

would "bind" help prevent using the same port?
Reply
#6

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

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

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

If I understood your question right, then no.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)