Jump to content
Forum²

Recommended Posts

Posted

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

Posted
You cannot do this, is the application itself that force the port and you can't bind the same port two times.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Posted

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?

Posted

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

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...