i have tried alot of diffrent Things that i assumed would work. I am trying to make it so me and my friends can Connect to the game (from diffrent locations) but i cant find anything on how to use it properly.
Develop games in your browser. Powerful, performant & highly capable.
Start here: https://www.scirra.com/tutorials/892/multiplayer-tutorial-1-concepts. There is quite a bit of setup, and it can take a while to learn all the ins and outs but it's worth it once you get the hang of it.