Cant access service deployed on router from LAN

Hi, I am trying to deploy simple app on router. Documentation says that services deployed on router should be available from LAN. Yet I simply run nc -l 7777 on router via ssh and then echo hello | nc 192.168.8.1 7777 on my laptop does nothing. telnet 192.168.8.1 7777 hangs.

I should have used nc correctly. nc -l -p 7777 on the router. It started to give Error: Couldn't setup listening socket (err=-3). Weird, but changing port helps. With 8888 this started to work.

Another prbolem is with my app.
Starting docker like
docker run --rm --name wol_web -p 8888:80 -v /root/wol_app/wol_sockets:/var/run/wol_sockets -v /root/wol_app/config.json:/var/www/config/config.json ghcr.io/image:tag does not expose the port. I cant curl it even from the router itself. Possibly my bug. I will check and return later

Hi,

Is the Docker installed on the GL router?

What is the router model?

Router Flint2.
I managed to use docker by using --network=host. In bridge mode it just does not work

1 Like