Author Topic: Multiple servers on same computer  (Read 1104 times)

0 Members and 1 Guest are viewing this topic.

Offline -Major-

  • Veteran
  • *****
  • Posts: 1419
Multiple servers on same computer
« on: May 31, 2007, 06:32:52 am »
Hi!
I have a problem in running more than 1 server on same computer.
when I try to open my 2nd server the errors message:
Please command the server using the Soldat Admin program
Welcome to Soldat 1.4.0
 Server name: Soldat Server
 Server PID: 22409
 
  • Compiling Script Server.pas...
  • Compilation Complete.


----------------------------------------------------------------
ctf_Ash by chakapoko maker
Realistic Mode ON
Loaded weapons mod "Realistic mod (Valentine's Day version) v1.0"
Survival Mode ON
Server Encountered an error:
Could not bind socket. Address and port are already in use.
Shutting server...


shows up.

what is the problem? I have changed all the ports in soldat.ini.

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: Multiple servers on same computer
« Reply #1 on: May 31, 2007, 06:42:22 am »
You need to make multiple installs, and then bind the DIFFERENT port for every server, from their soldat.ini's.

At least it looks like that you are trying to run many instances of the ONE installation, and thus you are trying to make multiple servers for same port, thats why the "Could not bind socket. Address and port are already in use.".

So, just install something like:
/servers/solserver0/
/servers/solserver1/
/servers/solserver2/
/servers/solserver3/
and so on, then configure every of them to different ports, like 23070, 23071, 23072, 23073...

This should fix the issue.
Fight! Win! Prevail!

Offline -Major-

  • Veteran
  • *****
  • Posts: 1419
Re: Multiple servers on same computer
« Reply #2 on: May 31, 2007, 06:50:59 am »
Thank you clawbug for helping me with this problem.
I dont know why I didnt do a new installation to start with.

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: Multiple servers on same computer
« Reply #3 on: May 31, 2007, 06:54:46 am »
No problem, feel free to ask if you encounter further problems with the servers. ;)
Fight! Win! Prevail!