Can't connect via LAN

I’ve been working on my first project, and what I’ve been trying to do is develop a simple game in terms of mechanics but make it as polished and have the most features as possible. One of those features is multiplayer over the internet.

I followed M2H’s tutorial (which was very helpful), and I incorporated the code from the tutorial and wrote some of my own so that, when I’m running the game from within the editor and in a built version playing on the same computer, it performs swimmingly.

But, upon trying to connect between computers, my game just doesn’t connect. Even the examples from the tutorial, as well as the examples provided by Unity, refuse to work. They’re on the same network, no firewall. I’ve tried setting the IP to different things, same with the port, even selecting a port that was one higher than the server for the client (as per this Unity Answer), and no luck. What gives?

Now I’ve tried two other computers, and I’m still having the same exact problem.

Can someone please help me? I absolutely cannot find anyone else who’s having this issue.

  • Ok lets say you start the server with port “7777” you need to make sure that the Port is forwarded.
  • And the server ip is the ip from your router