POGOserver icon indicating copy to clipboard operation
POGOserver copied to clipboard

can't connect to docker.

Open OhnO395 opened this issue 8 years ago • 3 comments

image

i'm config LOCAL_IP = 0.0.0.0 but pogoserver still listen 172.17.0.2

image

how to listen at 0.0.0.0:3000 for play from mobile

OhnO395 avatar Sep 21 '16 08:09 OhnO395

i didnt set up the world manager yet. But also using docker to run my local server.

why you want to use 0.0.0.0?

just for explanation: the ip 172.17.0.2 is the ip of the docker container. other containers have to use this ip to communicate with your server. BUT if you want to connect to your server (e.g. with pogo on emulator) you have to use the ip of your machine, where docker is running on. it says it listening at 172.17.0.2, but not completely true.

nliakm avatar Sep 21 '16 09:09 nliakm

ok. i'm edit issue.

OhnO395 avatar Sep 21 '16 09:09 OhnO395

@nliakm that's correct, the server prints the local ip4 @Cronick could solve this issue by printing: Server listening at $LOCAL_IP and a second nl print with Enter $LOCAL_IP4 into Xposed

maierfelix avatar Sep 21 '16 09:09 maierfelix