I'm trying to set up p2p multiplayer, similar to the way Terraria handles things. Trying to connect via 127.0.0.1 works great, but when I try to connect to my friend's computer via his public IP, it doesn't work. My only lead is that
connection_failed is triggered.
We suspected a firewall issue, but after configuring firewalls on both machines to allow the game through, the issue still occurs.
I'm using a NetworkedMultiplayerENet.
What could the issue be?