I am attempting to both create my own Flash app that connects, as well as run the Connector example. Both give me an error and do not connect:
--> SmartFox API: 0.8.6
--> Click the CONNECT button to start...
--> Config load success!
--> Server settings: 192.168.0.155:9933
After a little bit I then see this:
--> Connection Failure: Error #2048
Both 127.0.0.1 and 192.168.0.155 in the sys-config.xml has the same response. The demo uses API 0.8.6, however, my project is using API 0.9.17 and gets the same result. The server is patched with RC3, both 127.0.0.1 and my 192 local IP have been added to the server and TCP sockets are listening on both IPs at 9933. There are no custom extensions installed... clean install, patch then running the example. My code is a direct copy of the Connector project. I kept getting this error so I looked at the example and noticed it too was getting the error. I am not currently running a firewall, though I have even added 9933 TCP to its list and saw no change, running or not running the firewall.
Server is installed in my User directory (Windows machine).
I can login to the admin. When I do so, I see SocketReader log info in the cmd window from SFS running standalone. When I run the Connector example, or my version, I don't see any logging of actions.
I'm not sure what else can be preventing connections. Any ideas?!
Connection Failure: Error #2048
As a follow up, I can run the Connector example hosted by the webserver at http://127.0.0.1:8080/examples/Flash-Co ... index.html and it does work:
--> SmartFox API: 0.8.6
--> Click the CONNECT button to start...
--> Config load success!
--> Server settings: 127.0.0.1:9933
--> Connection Success!
When I adjust my sys-config.xml to use 127.0.0.1 and host it on my local webserver at 127.0.0.1, then I am able to get a connection.
How can I open this up for others on my network to access? For example, a multiplayer flash app? 192.168.0.155 should be the main server used... how would I get that to work? I've already added it in the admin... what else am I missing?
--> SmartFox API: 0.8.6
--> Click the CONNECT button to start...
--> Config load success!
--> Server settings: 127.0.0.1:9933
--> Connection Success!
When I adjust my sys-config.xml to use 127.0.0.1 and host it on my local webserver at 127.0.0.1, then I am able to get a connection.
How can I open this up for others on my network to access? For example, a multiplayer flash app? 192.168.0.155 should be the main server used... how would I get that to work? I've already added it in the admin... what else am I missing?
-Joby
I'n not trying to use a public IP, its the local LAN IP under the 192.168.x.x... I'm also attempting to run both the server and the client Flash app on my machine, so whether its 127 or 192 it shouldn't matter, both should find their way to my machine.
I've followed the directions in the online docs. That's why I'm a little confused as to why it still only seems to connect when the SFS2X server is accessed via 127.
Just to make sure I'm not looking at outdated docs or the wrong tutorial, could you provide a link?
I've followed the directions in the online docs. That's why I'm a little confused as to why it still only seems to connect when the SFS2X server is accessed via 127.
Just to make sure I'm not looking at outdated docs or the wrong tutorial, could you provide a link?
-Joby
http://forums.smartfoxserver.com/viewto ... 8450#48450
Maybe you have the same problem when trying to connect to the LAN IP?
Maybe you have the same problem when trying to connect to the LAN IP?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team