SA-MP Forums Archive
Setting IP for 1 server? - 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: Setting IP for 1 server? (/showthread.php?tid=159903)



Setting IP for 1 server? - Jackster - 14.07.2010

How can i set 1 ip to Server A and another to a difrent IP?

PS, B4 anyone askes, I have 2 ips ;P


Re: Setting IP for 1 server? - Hal - 14.07.2010

i would just use a different port, then you would just be using one ip. :P

ex. 127.0.0.1:7777- stunt server
127.0.0.1:7788 - rp server


EDIT: ummm how can you use two ip's on the same computer?


Re: Setting IP for 1 server? - Jackster - 15.07.2010

I want to use 2 servers on 2 difrent ips...


Re: Setting IP for 1 server? - Hal - 15.07.2010

Quote:
Originally Posted by Jackster
Посмотреть сообщение
I want to use 2 servers on 2 difrent ips...
i dont think that that can be done, as the computer even though it may have two ip's one is the one that is being 'used' .


Re: Setting IP for 1 server? - Brian_Furious - 15.07.2010

It's impossible 2 ip's at 1 PC hmm...


Re: Setting IP for 1 server? - Nimnix - 15.07.2010

You can't use 2 IP's on one PC. Just use different ports, I don't know why you want different IP's.


Re: Setting IP for 1 server? - Hal - 15.07.2010

Quote:
Originally Posted by Nimnix
Посмотреть сообщение
You can't use 2 IP's on one PC. Just use different ports, I don't know why you want different IP's.
i think he wants to have a hosting service, where when he sells a package, it will be on 7777 . i get the point, but this can only be done, by having two computers.


Re: Setting IP for 1 server? - Calgon - 15.07.2010

If you have more than 1 IP available, then you can use the 'bind' feature in your server.cfg. Please ensure you have another IP available, and assign the other IP, otherwise your server may cease to function.


Re: Setting IP for 1 server? - bigcomfycouch - 15.07.2010

To those who say you can't have multiple IP addresses, you can. You just need two network cards.


Re: Setting IP for 1 server? - Nimnix - 15.07.2010

Quote:
Originally Posted by bigcomfycouch
Посмотреть сообщение
To those who say you can't have multiple IP addresses, you can. You just need two network cards.
Oh, didn't think of that. Then he can just use the above posters way, "bind".