How to change admin port

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

Moderators: Lapo, Bax

grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

How to change admin port

Postby grhwood » 02 Nov 2012, 16:44

Hi,

I'm running SFS2x 2.2.0. The remote administation works fine with the default port 9933 but when i change it to a new value say 9935 for both admin port and SFS2x port, i cannot connect to it. In the server log, i can see client connection log but it is removed immediately:

Code: Select all

 INFO [23:32:21,505] sessions.DefaultSessionManager - Session created: { Id: 3, Type: DEFAULT, Logged: No, IP: 192.168.1.9:58173 } on Server port: 9935 <---> 58173
 INFO [23:32:21,516] sessions.DefaultSessionManager - Session removed: { Id: 3, Type: DEFAULT, Logged: No, IP: 192.168.1.9:58173 }
User avatar
Lapo
Site Admin
Posts: 21690
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How to change admin port

Postby Lapo » 03 Nov 2012, 09:17

Under the AdminTool > ServerConfigurator > Remote Admin you can specify which port is allowed for the AdminTool.
Since SFS2X allows you to bind many ports at the same time you can choose one of those to be used exclusively for the Admin.

In this case, if you run the server on 9935 you should also set the Admin port to be 9935.
You can read more about this, here:
http://docs2x.smartfoxserver.com/Gettin ... nfigurator

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 47 guests