Dedicated Server Setup

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

Moderators: Lapo, Bax

kers7754
Posts: 14
Joined: 05 Nov 2010, 04:17
Location: Phoenix, AZ
Contact:

Dedicated Server Setup

Postby kers7754 » 05 Nov 2010, 04:23

I have a 64 bit Windows Server 2008 dedicated server co-located at a data center and I have the SFS2X installed and running as a servce on this box.

I am a little confused as to how I can that service to listen to a particular IP. My box has 2 additional IP address that aren't being used, so how do I set up IIS7 to have an IP address point to SFS? I believe that is how it is supposed to work?

As a side note, do I need to install flash 10.* on my server? I didn't really want to install that on my server if I didn't have to. I know that the server control panel is a SWF, but I was hoping to run that remotely for administration.

Thanks for the great product!
User avatar
jpardoe
Posts: 132
Joined: 31 Aug 2009, 20:54

Postby jpardoe » 05 Nov 2010, 07:36

Go to {SFS2X directory}\SFS2X\config\ folder.

Open server.xml

In the <socketAddresses> tag, you can add your specific IP address and port there.

You will also need to add the IP address of your remote machine which wants to access the admin tool - that will enable you to configure the server more easily without requiring flash on your server. This is added in the <allowedRemoteAddresses> tag.

I think that's all you need to get going. Just make sure you have port 9933 open.

...And don't forget to reset the server once you've made the changes!
kers7754
Posts: 14
Joined: 05 Nov 2010, 04:17
Location: Phoenix, AZ
Contact:

Postby kers7754 » 05 Nov 2010, 14:04

That was it... thanks!
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 06 Nov 2010, 07:02

I would like to suggest to use the AdminTool instead! :D
There's no need to mess with the XML code when you have a convenient visual interface that guides you in the process. ;)

The AdminTool is immediately available on the localhost as soon as the server is setup. Just open the browser and point it to http://127.0.0.1:8080

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
jpardoe
Posts: 132
Joined: 31 Aug 2009, 20:54

Postby jpardoe » 06 Nov 2010, 13:27

Hi Lapo,

His local server didn't support Flash so I explained how to get set up so that he can use the admin interface remotely.

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Baidu [Spider] and 147 guests