Multiple sfs2x server instances

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
Stigma
Posts: 15
Joined: 22 Feb 2010, 13:30
Location: Switzerland

Multiple sfs2x server instances

Post by Stigma »

Hi,

I can't find in the new server docs or license informations if it's still possible to run multiple server instances on the the same machine with only one license.

Thank you very much for your answer.

Thomas
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Yes, it is possible and easy to do.
SFS2X uses by default port 9933 for TCP socket connections. By simply assigning a different TCP port to each instance you will be able to run multiple instances.

There's an additional note for the embedded HTTP server (Jetty). By default it is turned on and set to port 8080. If you don't need it simply turn it off from the AdminTool.
Otherwise you will also need to specify a different TCP port for each instance of SFS2X (eg... 8081, 8082 etc...)
Lapo
--
gotoAndPlay()
...addicted to flash games
Stigma
Posts: 15
Joined: 22 Feb 2010, 13:30
Location: Switzerland

Post by Stigma »

Thanks for the reply :)
Post Reply