Using MLAPI to network across multiple computers

So I’ve recently been working with MLAPI networking to just get a very simple game working before I do anything complicated. Pretty much following the SRCoder tutorial on Youtube, I have a button that lets you join as a host or a client, and then it spawns in a player prefab. However, I’m trying to connect to the host’s server from another computer. I have a second computer in my house, and I was able to do it through that, but my friend who is working on the project through Unity Collaboration was unable to connect from his place. The method I have in which the computers connect is by simply typing in the host’s IP address into an input field, which then sets the IP in the U Net Transport script. Does anyone know what needs to be done in order to connect to a host who is not under the same wifi? Much thanks to anyone who can help!

Ok so I did some research, and basically what you have to do is port forwarding on your router. Unfortunately, this is not a solution to multiplayer games and also has some risk, so I have decided to stop using MLAPI and instead use Photon for a public server, which is working well so far.

Hey how did you manage to connect from another computer using same wifi? could you tell me?