I have been working on making a local multiplayer game but the connection doesn't work, It works when I use mobile (as client) and pc(as server) or both client and server as pc. But when I try to make the mobile the server its just chaos.
Maybe I know the problem but cant actually find solution anywhere. See when I try to host a server in mobile the ip which shows in mobile is IPV6 and the ip showed by pc is IPV4 but when I tried to join with both ips(IPV4 and 6) the client can't find the server on that ip.
For your information I have already turned on the necessary export settings + I tried joining with other phone with same IPV6 it just don't work.
What can be the actual problem or the right solution?
#Why Making the mobile server in local host games just breaks it?
10 messages · Page 1 of 1 (latest)
Are there some error messages? (I haven't debugged android remotely yet with godot, but there should be an possibility I think)
Which export settings have you checked?
No there's no error in the console showing when I try to join with pc Or mobile and it also not showing any error when I make a mobile server
@wintry surge I have checked Netstat..... And Internet
Can you post the part of the code that handles the server hosting and joining?
It would also be interesting if it fails immediately or after some time (as for instance connection timed out)
sounds like a possible port issue if you are trying to connect through WAN instead of LAN.
are you using WAN or LAN for the ip? you mentioned IPv6 so I assume you are trying to connect through WAN (your public ip) which would require the port to be open/forwarded.