Problem with online multiplayer

Hi there!

I don’t know if this is the right place to ask this, but I didn’t see any better section to ask this in.
I have a very basic problem with getting online capabilities working. I packaged a test game as shipping and tested two players by running two instances of the game.
One running with the command: mymap?listen -game
And the other one with: 127.0.0.1 -game

This worked on my own computer, but when I tried it with a friend changing the ip address to mine (me being the server) it doesn’t seem to be working.
Can anyone tell me what I’m doing wrong?

Thanks in advance.

EDIT: After doing a check, I noticed that both have authority. Doesn’t that make them both servers?

You can’t just connect to another computer unless you set up the router to forward port 7777 or you and your friend are in a VPN.

I tried forwarding port 7777, but it still doesn’t work.
Maybe you have to configurate something aside of that?
Is there a guide to getting something simple working out there?

EDIT: I actually got it working with someone else acting as the server. Seems like there’s something wrong on my end.

Is there a tutorial or documentation on how to configure a game in this manner, I too would love to figure out more about it.