Hi all!
Got a question. I'm sitting on a closed network, and I need access to a WebService out in the DMZ. The WebService is made available through a non-80 TCP port (let's call it 1234), which is blocked by the firewall of the closed network.
I do, however, have SSH access to a server in the DMZ (let's call that one 'dmzhost'), so I thought the solution would be to simply put up a tunnel like this:
ssh -L 4321:wsIpHere:1234 username@dmzhost
After that, I should be able to access the WS endpoint through the URL http://localhost:4321. No luck. I tried it with my web-browser, and got the message
Cannot bind to address "http://localhost:1234/" No component registered on that endpoint
I think I've missed the point here somewhere. Does anyone have a clue as to what I'm doing wrong?
Thanks!