Hello,
I've downloaded the basic version of the server , after this I've puted on my web server ( online) , I started the server (exec -a start.sh) and I tried to connect to it on : http://www.sauvezmeme.com/meme/javaserv ... inTool.swf .
I get the same result ...connecting...Can anyone help me? please
the same "connecting..."
sorry.. I forgot that.
the ip where the server is running is 64.92.170.38.
I've entered with putty , and started the server ( I hav to modify first the ip from config.xml) and now the sever is running. But...the problem is the same....I tried to connect with this dates:
First with:
Server IP address:64.92.170.38
User:sfs_admin
Pass:sfs_admin
And after this with:
Server IP address:64.92.170.38
User:root
Pass:the pass for the root (sorry but I can't type it here...you understand).
The result....the same....
PS: the adminTool.swf is at the same server
the ip where the server is running is 64.92.170.38.
I've entered with putty , and started the server ( I hav to modify first the ip from config.xml) and now the sever is running. But...the problem is the same....I tried to connect with this dates:
First with:
Server IP address:64.92.170.38
User:sfs_admin
Pass:sfs_admin
And after this with:
Server IP address:64.92.170.38
User:root
Pass:the pass for the root (sorry but I can't type it here...you understand).
The result....the same....
PS: the adminTool.swf is at the same server
I've checked the address you said (64.92.170.38) on port 9339 (the default value) and there's nothing responding on that port!
You can test it by yourself:
This means only 3 things:
1) The server is not running
2) The server is not running on port 9339 (then you should please tell me which port are you using)
3) A firewall is blocking that port and SmartFoxServer is not able to establish connections.
Did you put the IP address you told me in the config.xml (and restarted the server) ?
You can test it by yourself:
Code: Select all
telnet 64.92.170.38 9339
This means only 3 things:
1) The server is not running
2) The server is not running on port 9339 (then you should please tell me which port are you using)
3) A firewall is blocking that port and SmartFoxServer is not able to establish connections.
Did you put the IP address you told me in the config.xml (and restarted the server) ?
oops again.. sorry...I didn't restart the server...can you tell me how can I do that in command mod?
I know that I can stop it with kill process but I don't know the process ID
The port is default (9339)
I tried to start it again ( after I replaced 127.0.0.1 with 64.92.170.38) and now I get this error :
[ --> FATAL ERROR <-- ]: Error initializing server.
Check if server address and port are properly configured.
Exception caught in SmartFoxServer
java.net.SocketException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:108)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at it.gotoandplay.smartfoxserver.SmartFoxServer.x(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(Unknown Source)
Shutting down server...
10xs alot
I know that I can stop it with kill process but I don't know the process ID
The port is default (9339)
I tried to start it again ( after I replaced 127.0.0.1 with 64.92.170.38) and now I get this error :
[ --> FATAL ERROR <-- ]: Error initializing server.
Check if server address and port are properly configured.
Exception caught in SmartFoxServer
java.net.SocketException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:108)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at it.gotoandplay.smartfoxserver.SmartFoxServer.x(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(Unknown Source)
Shutting down server...
10xs alot
Code: Select all
java.net.SocketException: Address already in use
This means that you are running a second copy of SFS at the same address which is not possible.
I presume you are using Linux then open a terminal and type:
Code: Select all
ps aux |grep java
This will show all java process that are running, if you don't have any other java apps running SFS should be the only one.
Read the process number of SmartFoxServer and then type:
Code: Select all
kill processId
where processId is the number you read before.
Now you can start a new SFS. From now on you can simply restart the server from the remote admin tool. Much easier
One more thing: Be sure to read chapter 3.1 of the online docs >> http://www.smartfoxserver.com/docs/
Also in the config.xml you can add:
Code: Select all
<AutoSendPolicyFile>true</AutoSendPolicyFile>
in the <ServerSetup></ServerSetup> block to have the crossdomain file automatically generated by SFS.
Hope it helps!
hello again..
I've restarted the server ( before I edited the config.xml file and changed the port several times to see if that's the problem) but I couldn't connect throu AdminTool....
I have the server running on 64.92.170.38 on 4444 port with sfs_admin and sfs_pass. I uploaded a xml file "crossdomain.xml" whit "<allow-access-from domain="*" />" on it...but I still have the same problem....I can connect to the server....
PS: and I forgot to say, I added also that lines of cod in the config.xml ( AutoSednPolicyFile)
I've restarted the server ( before I edited the config.xml file and changed the port several times to see if that's the problem) but I couldn't connect throu AdminTool....
I have the server running on 64.92.170.38 on 4444 port with sfs_admin and sfs_pass. I uploaded a xml file "crossdomain.xml" whit "<allow-access-from domain="*" />" on it...but I still have the same problem....I can connect to the server....
PS: and I forgot to say, I added also that lines of cod in the config.xml ( AutoSednPolicyFile)
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 53 guests