Hello,
I have been using SFS for some time now. When I come to start SFS, I need to change the port in the config.xml file for it to start the server.
The error message is "Please check the server IP and port in the config". Once I have changed the port, it starts perfectly.
This happens again when I shut down the server.
Please help
Thanks
mrnothersan
Problem with SFS Starting
-
- Posts: 226
- Joined: 24 Jan 2010, 18:38
Which OS is your server using?
There's a number of ways to determine which program is associated with a port. For example, netstats -b (for Windows command line). Google online for ways to find out which port is in use, as different OS have different methods.
It could be that one of your program is constantly trying to use one of your server port. Or maybe your SFS didn't shut down properly?
There's a number of ways to determine which program is associated with a port. For example, netstats -b (for Windows command line). Google online for ways to find out which port is in use, as different OS have different methods.
It could be that one of your program is constantly trying to use one of your server port. Or maybe your SFS didn't shut down properly?
Smartfox's forum is my daily newspaper.
-
- Posts: 226
- Joined: 24 Jan 2010, 18:38
I'm confused. You said that you change the port then restart the server. So are you doing something like this:
1. Launch SFS on, say.. port 443
2. Modify config.xml by changing the port to 9339
3. Restart server via AdminTool
?
I tried this, and I got:
but none of the "Please check the server IP and port in the config" message.
1. Launch SFS on, say.. port 443
2. Modify config.xml by changing the port to 9339
3. Restart server via AdminTool
?
I tried this, and I got:
Code: Select all
07:21:51.156 - [ WARNING ] > Generic Exception in acceptNewConnections():java.ni
o.channels.ClosedSelectorException
java.nio.channels.ClosedSelectorException
at sun.nio.ch.SelectorImpl.selectedKeys(SelectorImpl.java:57)
at it.gotoandplay.smartfoxserver.SmartFoxServer.acceptNewConnections(Sma
rtFoxServer.java:705)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
651)
but none of the "Please check the server IP and port in the config" message.
Smartfox's forum is my daily newspaper.
-
- Posts: 226
- Joined: 24 Jan 2010, 18:38
-
- Posts: 226
- Joined: 24 Jan 2010, 18:38
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 81 guests