Can't run sfs2x-standalone.exe

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

Moderators: Lapo, Bax

sttsai
Posts: 2
Joined: 02 Aug 2019, 02:32

Can't run sfs2x-standalone.exe

Postby sttsai » 02 Aug 2019, 02:44

After complete the installing smartfoxserver on my windows 7 ,
I running SmartFoxServer by sfs2x-standalone.exe,
but the jvm report java.lang.reflect.InvocationTargetrException to me
then the SmartFoxServer shutting down.
what's happen ?

I have attachment the screen shot, and any one know how to fix it ?
thx!!
Attachments
error.png
(91.38 KiB) Not downloaded yet
User avatar
Lapo
Site Admin
Posts: 21077
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Can't run sfs2x-standalone.exe

Postby Lapo » 02 Aug 2019, 07:08

Hi,
the problem is that Jetty (the internal web server) is not able to bind port 8080 and/or 8443, meaning that another service is already using them. In other words it looks like another Web server is already running in your system.

You have several options:

- not run Jetty if you don't need it (it is used for websocket, HTTP tunneling and SSL)
- or ... shut down the other Web server running in your system
- or... reconfigure your existing Web server to use other ports
- or ... reconfigure Jetty to use different ports

To modify Jetty's ports you will have to change them under SFS2X/lib/jetty/start.d/, files http.ini and https.ini

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
sttsai
Posts: 2
Joined: 02 Aug 2019, 02:32

Re: Can't run sfs2x-standalone.exe

Postby sttsai » 05 Aug 2019, 02:59

THX !! I have fix the problem, after check the opening port.
markcowell23
Posts: 1
Joined: 13 Sep 2019, 07:21

Re: Can't run sfs2x-standalone.exe

Postby markcowell23 » 13 Sep 2019, 07:24

Lapo wrote:Hi,
the problem is that Jetty (the internal web server) is not able to bind port 8080 and/or 8443, meaning that another service is already using them. In other words it looks like another Web server is already running in your system.

You have several options:

- not run Jetty if you don't need it (it is used for websocket, HTTP tunneling and SSL)
- or ... shut down the other Web server running in your system
- or... reconfigure your existing Web server to use other ports
- or ... reconfigure Jetty to use different ports

To modify Jetty's ports you will have to change them under SFS2X/lib/jetty/start.d/, files http.ini and https.ini

Hope it helps

facing same issue. I did everything you said But nothing help :(
User avatar
Lapo
Site Admin
Posts: 21077
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Can't run sfs2x-standalone.exe

Postby Lapo » 13 Sep 2019, 09:27

markcowell23 wrote:facing same issue. I did everything you said But nothing help :(

What OS are you using?
And what version of SFS2X are you trying to run?
Have you checked the server's startup logs? Any errors?

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Google [Bot] and 17 guests