For some reason the Windows build is connecting fine but my Android build is refusing to connect to my local Nakama server and is crashing the android game.
Connection Setup:
Error:
Thanks in advance!
For some reason the Windows build is connecting fine but my Android build is refusing to connect to my local Nakama server and is crashing the android game.
Connection Setup:
Error:
Thanks in advance!
Hey @crowie localhost
on Android actually points to your local android device’s loopback interface. You should try 10.0.2.2
to access the loopback on your Windows machine.
Hi there,
I tried setting the host to 10.0.2.2 but it’s timing out now. Are there any other settings I need to change or settup?
@crowie it’s hard to say exactly since it’s specific to your machine, but I’d also check that internet sharing is on.
I just tested on another machine and it’s also not connecting. Do I need to add something when I start the server other than docker-compose up so that the ports are accessible?
Yes I’d check that internet sharing is on.