So, I'm making a simple multiplayer game and it goes well so far but I've stumbled into a problem. When testing I connect the client to the server with the IP address 127.0.0.1 and it works great, but when deploying the game to a hosting service (Firebase) I have no idea what IP address to use since they don't provide one (for reasons I'm not well versed enough in the subject to understand).
Is there a way to retain the bi-directional communication functionality without giving an IP address? Does it mean I need to make and run a server from my own machine?
Thanks in advance for the help.