- Home /
Unity + Smart Fox Server 2x
I got almost everything set up. I am hosting the server temporarily off my laptop and i run the game on my computer i can connect and everything, i can walk around and ill have my game running in the editor and a separate client and they can communicate using the chatbox but when i send the game to someone that isnt using my internet router they cant connect.
My laptop is using windows 7
On my laptop where i host it i have it port forwarded, i have those ports on the actual computers firewall ports open, and the server is up. What do i have to do for them to connect to my server?
All help is appreciated, Thanks
Answer by thebombes123 · Jun 18, 2012 at 07:10 PM
That's because smart fix ONLY uses LAN! this means you need a program like
LogmeIn Hamachi: https://secure.logmein.com/products/hamachi/download.aspx
Tutorial for how to use: http://www.howtogeek.com/77164/beginner-how-to-use-logmein-hamachi-to-access-your-files-anywhere/
Answer by Hanz-Olo · Sep 04, 2012 at 08:46 PM
In your unity script that handles the connection to the smartfox server, you need to put the "external" ip address of your router (the ip address that the world sees, not the computers on your network). You can get it by typing "what is my ip" into google. Clients connecting from the internet will connect to that ip address, your router will then port forward to your server. With most isps your ip address can change periodically. Sorry if I am explaining something obvious.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
How to load image from redirected server URL? 1 Answer
Distribute terrain in zones 3 Answers
Multiple Cars not working 1 Answer
Issues working with my game menu 2 Answers