Connecting to my server from another computer
Posted: 28 May 2010, 01:00
I'm starting my SmartFoxServer on my desktop computer at home and I'm using Flash AS3 with it but I just can't find out how to connect to the server from another computer. The server IP in my config.xml is * and I have in Flash smartFox.connect ("127.0.0.1", 9339). Works just fine from my computer except when I log in the server says room join error: user is already in the room but that's not the problem at hand.
I've searched and read about 10 threads about connecting and all the documentation suggested but the problem is I don't really know much about servers and real time live programs. My desktop's IP is 192.168.0.2, I changed the * to that and the server couldn't assign that so I kept it as * as suggested. I changed 127.0.0.1 to my desktop's IP and I got no connection from the Flash program. I uploaded the program to superawesomecool.uphero.com and my friend couldn't get a connection from his home computer and neither could the 2 laptops I have in my home. I also stuck the swf on a flash drive and tried it on the laptops and that didn't work either.
I read the documentations but it didn't make much sense because I've only been programming for local purposes like single player games. I don't have a lot of server and network programming experience so a lot of the terms I don't understand.
I've searched and read about 10 threads about connecting and all the documentation suggested but the problem is I don't really know much about servers and real time live programs. My desktop's IP is 192.168.0.2, I changed the * to that and the server couldn't assign that so I kept it as * as suggested. I changed 127.0.0.1 to my desktop's IP and I got no connection from the Flash program. I uploaded the program to superawesomecool.uphero.com and my friend couldn't get a connection from his home computer and neither could the 2 laptops I have in my home. I also stuck the swf on a flash drive and tried it on the laptops and that didn't work either.
I read the documentations but it didn't make much sense because I've only been programming for local purposes like single player games. I don't have a lot of server and network programming experience so a lot of the terms I don't understand.