So I did everything in those steps with the lobby example that came with the SmartFoxBits and it works when I run it locally, otherwise the connection fails. And I think that I may have screwed up the cross domain policy file (I was unsure if I need to add the crossdomain.xml in addition to the second basic/pro method described in the documention or where exactly I would add that file), or I might have screwed up something else because I really have no idea what I am doing.
Edit: Ok, I looked on gotoandplay and it seems like I am having the same problem as this
mistermind wrote:Ohhhhh i think i know what is wrong. and this is probably the same problem xombie is having.
We are tryin to connect to SFS from a website to a home connection tryin only to specify the actual IP on the XML file and SWF, but that will not work for sure. the XML have to be on the web_root of the computer where the SmartFoxServer is installed, but in order to have a web_root u have to have a web server runnin (Apache, IIS, etc..)
Well, in simple words: if u wanna make a test of ur application, u HAVE to have a web server with SFS installed OR learn to install and configure a web server at ur home (search for PWS on the internet. It is a basic version of IIS for home use. Very simple and easy to use).
Thanks for the attention anyway Lapo. Im lookin foward to the SFS Basic.
http://www.gotoandplay.it/_forums/viewtopic.php?t=742
Anyway, it's been like three years since then and from what I've seen it seems like sfs now comes with a webserver (what with the webserver directory and all). But the problem is I have no idea what to do with this. Is there any documentation on this?
Edit: Ok so I found the documentation, and I enabled the webserver, the little 127.0.0.1:8080 test worked fine. I edited the crossdomain.xml in root to point to where my swf is (I hope I did it right) But I can't figure out for myself what the next step would be, as the connection still is failing.
Edit: Some more reading and I see talking about installing sfs on a webserver. I am confused.
Edit: So I looked at the router control panel thing, and in the firewall section of the security tab, I have Block Anonymous Internet Requests checked. Would that be screwing something up, and if so is there a way around it with disabling it.
Edit: I tried again after temporarily disabling it and still no connection.