How to change the port number for Blue box?

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

kuttymoorthy
Posts: 7
Joined: 19 Jan 2010, 04:37
Contact:

How to change the port number for Blue box?

Postby kuttymoorthy » 28 Jun 2010, 12:29

hi we have installed the sfs in windows server, while connecting the sfs we have change the port number in jetty xml for sfs. But the same port number is not been taking for blue box.

Can you please explain how to change the port number from 8080 to user define port number for blue box.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 28 Jun 2010, 17:36

Here you find the details to change the port:
http://www.smartfoxserver.com/docs/docP ... Server.htm

Restart SmartFox to apply the changes.

Once this is done you will need to specify in your client side application the new port number that the BlueBox connection should use.
This can be either directly on the SmartFoxClient object or via the external configuration file.

Example. Specify the new port via code, supposing your new port is 80

Code: Select all

var sfs:SmartFoxClient = new SmartFoxClient()
sfs.blueBoxPort = 80
...
...

sfs.connect(...)
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 13 guests