Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!
Moderators: Lapo, Bax
-
ParkerJ
- Posts: 30
- Joined: 31 Aug 2009, 23:14
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
Post
by ParkerJ »
Where is jetty config located?
-
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
-
ParkerJ
- Posts: 30
- Joined: 31 Aug 2009, 23:14
Post
by ParkerJ »
What do I change in the Jetty File?
-
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.
-
ParkerJ
- Posts: 30
- Joined: 31 Aug 2009, 23:14
Post
by ParkerJ »
So in the config.xml... I just need to change the port under the * ip.?
-
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