I want to run a Google Earth Engine Datalab on a server and access it from another PC on LAN. Server's OS is Windows Server 2012. So, following https://developers.google.com/earth-engine/python_install-datalab-local, I did:
-p "127.0.0.1:8081:8080"
for -p "8081:8080"
. This is the full command:docker run -it -p "8081:8080" -v "$WORKSPACE:/content" -e "PROJECT_ID=$GCP_PROJECT_ID" $CONTAINER_IMAGE_NAME
(see the link
It works, and I can access it through 192.168.99.100:8081
. But that only works for localhost, so I followed this answer https://stackoverflow.com/a/36458215/2791453, did all steps, and now I open a browser on the server, and access the Datalab through 196.168.0.55:8081
(that's the server LAN address), but I cannot access it from another computer connected to LAN.
it seems like firewall issue.
you can test networking is working OK from other host with ping
ping 196.168.0.55
if it is OK you can test if the port is open with netcat
nc -z 196.168.0.55 8081 -v
if it says open port it means there will be issue inside docker container, if it timeout or other error it will be firewall related