0 votes

Hey, I made a chat room in Godot from http://www.narwalengineering.com/2018/07/01/godot-tutorial-simple-chat-room-using-multiplayer-api/ .
It worked when I used two pcs connected to the same wifis. But in my android phone( android 10 to be specific) it won't even connect to either another phone or pc. While exporting I had checked the internet permission but still it doesn't work.
How can I make it work. Thanks in advance :)

in Engine by (16 points)

Are the mobile phones on the same wifi network? If you're attempting to communicate over the internet (so using the phone's 3G/4G/5G cellular), the server's port must be publicly accessible at the public IP address. I don't have any experience with mobile networking in Godot unfortunately, so this is for someone else to answer fully.

yes they are connected to the same wifi and the same port. Still it doesn't work.

Make the PC's firewall settings to allow LAN/WIFI access for the specific port.

There is no issue with the firewall settings. Im able to connect two laptops.

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.