I am trying to access a remote debug port running in field A (Debian) from window B (Windows). In field A, I start Chrome with the flag --remote-debugging-port=9222, and I see that it works correctly (I can access it localhost:9222from another browser on A). In addition, I am sure that the A and B boxes are connected, because I can access :80(apache) running in field A from window B, just fine. I need to do now to allow access to block B :9222in field A. I did a research on port forwarding rules and iptables, but I couldn’t get it working.
EDIT
Machine B is Windows, so I'm not sure how to use ssh there, I found a port forwarding application that seems to work fine. This results in the error: "received a connection, but cannot connect to host-B: 9222". So it looks like 9222 is not open to external connections. The output from netstat on A gives me:
root@template:/home/developer
tcp 0 0 127.0.0.1:9222 0.0.0.0:* LISTEN 24300/user
source
share