- Home /
How to make a simple network server?
Hey i am trying take a simple multiplayer game. I feel like im close but i am stuck. I have a basic network that i has a host and a client. To test this server, i simply make a build and run it as the same time as the game in unity. The 2 games successfully connect. However, when i test this server from computer to computer it does not connect. Why is this? And how do i fix this?
Please DO NOT post duplicate questions. All they do is piss off the moderator looking at the queue
If you are not on the same network, then it's because you have firewall. There are quite a few nice tutorial on the net with networking. Study them.
Answer by Zshelley · Nov 21, 2013 at 07:32 AM
I have found that multiplayer problems like this can have a number of effects, but If I had to guess I would say to make sure your ports are properly forwarded, and that your game has registered with the unity multiplayer master server (unless you are hosting your own in which case best of luck.)
This is how I learned, it has good advice and straight forward tutorials for free: http://forum.unity3d.com/threads/29015-UniKnowledge-entry-Unity-Networking-the-Zero-to-Hero-guide
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Networking for 1v1 rooms 0 Answers
My network server doesn't work. 0 Answers
Network client : cannot fire 0 Answers
Can you create a Stand alone server for your game? 0 Answers