my app emit "connection_failed" signal

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By patlol

Good morning,
I’m developing a multiplayer game based on the “Multiplayer_bomber” model.

I wanted to test on two machines connected by internet. I entered for the server the IP 127.0.0.1 and for the client the public IP of the server. Both machines are connected to the internet via boxes configured as routers. The client sends a “connection_failed” signal with the firewalls disabled.

The same application running twice on the same machine (with IP 207.0.0.1 on client and server) works perfectly.

I don’t understand why. Can you help me?

Did you configure port forwarding for the router that connects the server to the internet?

omggomb | 2020-03-29 10:16

No i don’t. :frowning:
Only for the router of the server? Not for the router of client?

patlol | 2020-03-29 13:42

You only need it for the server, so that your client can connect to the server through the internet.

omggomb | 2020-03-29 14:01