Hello
I have the following exception when i activate blue box
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)
at org.eclipse.jetty.start.Main.start(Main.java:457)
at org.eclipse.jetty.start.Main.main(Main.java:75)
at com.smartfoxserver.v2.http.JettyServer.start(JettyServer.java:35)
at com.smartfoxserver.v2.SmartFoxServer.start(SmartFoxServer.java:321)
at com.smartfoxserver.v2.Main.main(Main.java:27)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:390)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1510)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435)
... 10 more
Jetty exception - address already in use
-
- Posts: 2
- Joined: 10 Mar 2017, 20:59
Re: Jetty exception - address already in use
It would help to know which SmartFoxServer you're running.
In any case the error indicates that another service is running on the same port that Jetty is trying to bind.
Assuming you're using SFS2X 2.12.x, Jetty by default binds 8080 (http) and 8443 (https)
Hope it helps
In any case the error indicates that another service is running on the same port that Jetty is trying to bind.
Assuming you're using SFS2X 2.12.x, Jetty by default binds 8080 (http) and 8443 (https)
Hope it helps
-
- Posts: 2
- Joined: 10 Mar 2017, 20:59
Re: Jetty exception - address already in use
smartfox version : 2.12.0
i've changed default ports into :-
http port: 7048
https ports: 8545
and these ports are not used by any other services
and i can't access admin panel, i always get couldn't connect to server when i disable web server option
i've changed default ports into :-
http port: 7048
https ports: 8545
and these ports are not used by any other services
and i can't access admin panel, i always get couldn't connect to server when i disable web server option
Re: Jetty exception - address already in use
What OS are you using?
Can you show me your jetty config file, where you changed the ports?
Thanks
Can you show me your jetty config file, where you changed the ports?
Thanks
Who is online
Users browsing this forum: No registered users and 55 guests