Keeny Posted February 3, 2012 Posted February 3, 2012 hello Please I need Your help or advise. I've got a VPS with Windows Serwer 2008 on and a few IP address. I'm going to start twice the same exe (simple game application - server) from different locations of HDD. However there is not possibility to choose which port game server use. It is constantly 1808. So the only possibility is that dwo different exe files will broadcast different IP. First app (let's call it 1.exe) is starting ok. 2.exe is trying to start the same IP so in its log error is following: Initialising winsock : Success Creating socket : Sucess Binding socket : Error Please help me to force winserwver to start 1.exe with IP#1, 2.exe with IP#2, ... thanks in advance Quote
ICTCity Posted February 4, 2012 Posted February 4, 2012 You cannot do this, is the application itself that force the port and you can't bind the same port two times. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
Keeny Posted February 4, 2012 Author Posted February 4, 2012 Sorry for maybe stupid question while i'm just amatour but isn't it so that each IP has full range of ports to use? I thought one app can go on xx.xxx.xxx.xxx:1808 and second one on yy.yyy.yyy.yyy:1808 But if I understand You right way there is only one range of ports to be used for all IPs available. Is it so? best regards P.S. Maybe any other application can redirect port befor go into the net and redirect it back while incom? Quote
ICTCity Posted February 11, 2012 Posted February 11, 2012 Well you can use the same port for different IPs. I mean, you can have 2 web server on the same server with 2 different IPs: 192.168.1.10:80 10.0.0.10:80 It works... Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.