Hello,
I tried reading the forums and couldn't seem to find the solution.
If I run the server and try and connect locally... it works perfectly. If I try connecting externally.... it fails.
I checked my router and my port 9339 is forwarded to the correct computer.
I tried telneting from the local computer to port 9339, and I got some xml text (which means it worked). I tried the same thign externaly.... it failed to connect.
So one would think that I have a firewall or something... I don't... and windows default firewall is turned off.
The weird thing is, I ran a packet sniffer.... tried telnetting from an external address... and my computer where the server is runnign detected the packets coming in....
I ran nmap from my linux box the the windows server and it didn't find the port 9339 open.
My best guess is that I have my server configured improperly... it must be set to only allow local connections.... is this possible?
any ideas?
thanx
Problems Connecting Externally
the exact error is below.... btw, my ip address is : 68.145.118.90
Check if server address and port are properly configured.
Exception caught in SmartFoxServer
java.net.BindException: Cannot assign requested address: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.initServerSocket(SmartFo
xServer.java:372)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
546)
Shutting down server...
Check if server address and port are properly configured.
Exception caught in SmartFoxServer
java.net.BindException: Cannot assign requested address: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.initServerSocket(SmartFo
xServer.java:372)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
546)
Shutting down server...
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 87 guests