Can i run 2 SFS from same computer/server

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
ParkerJ
Posts: 30
Joined: 31 Aug 2009, 23:14

Can i run 2 SFS from same computer/server

Post by ParkerJ »

I know they run on ports 8080, 9339 but cant i install another.. And change the ports to 7070, 8338? If so any help?
thomers1
Posts: 125
Joined: 13 Aug 2008, 07:36
Contact:

Post by thomers1 »

yes, this works.

just make sure you edit the port in config.xml and in the jetty-conf.
ParkerJ
Posts: 30
Joined: 31 Aug 2009, 23:14

Jetty Config

Post by ParkerJ »

Where is jetty config located?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Under:
{your-sfs-dir}/Server/webserver/cfg/jetty.xml
Lapo
--
gotoAndPlay()
...addicted to flash games
ParkerJ
Posts: 30
Joined: 31 Aug 2009, 23:14

Reply

Post by ParkerJ »

What do I change in the Jetty File?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Look for something like:

Code: Select all

<Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
and change the port value to your value. Then restart SFS to apply the changes.
Lapo
--
gotoAndPlay()
...addicted to flash games
ParkerJ
Posts: 30
Joined: 31 Aug 2009, 23:14

11

Post by ParkerJ »

So in the config.xml... I just need to change the port under the * ip.?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Yes, the SFS port is changed in the config.xml
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply