0 votes

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?

in Engine by (70 points)
edited by

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

No i don't. :(
Only for the router of the server? Not for the router of client?

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

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.