How to organize a connection to the server?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

MrNorwod
Posts: 1
Joined: 24 Aug 2014, 12:49

How to organize a connection to the server?

Postby MrNorwod » 25 Aug 2014, 14:21

Hello! Use SmartFox Server Pro.
In the config.xml ordered his white ip.
But that's what gives the batch file:

Code: Select all

[ --> FATAL ERROR <-- ]: Error initializing 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(ServerSocketChannelImpl.java:
119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
        at it.gotoandplay.smartfoxserver.SmartFoxServer.initServerSocket(SmartFo
xServer.java:416)
        at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
607)


Shutting down server...


Please, help me!!!
Ninjaoninja2
Posts: 204
Joined: 22 Sep 2013, 23:33

Re: How to organize a connection to the server?

Postby Ninjaoninja2 » 05 Sep 2014, 23:07

Did you open the ports up? (9339 and 8080.)
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How to organize a connection to the server?

Postby Lapo » 08 Sep 2014, 16:46

it seems you have specified and IP address that is physically not available on the server machine.

If you have a Public IP and Private IP you will need to bind the Private IP address to SmartFoxServer and then the router will translate the traffic from the two.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 49 guests