Cannot set up SSH tunnel for port 80 while HTTP.SYS driver is enabled under Windows 7
I'm trying to set up an SSH tunnel using the tried and tested technique of creating a loopback device with an arbitrary address then using the SSH software (PuTTY) to forward port 80 to the remote site. This works fine under XP, but it seems that under Windows 7, port 80 is bound for all addresses (apparenty by the HTTP.SYS driver in the System process - pid 4) so the forwarding fails with 'permission denied'. The workaround I've found is to disable startup of HTTP.SYS, then reboot, establish the SSH tunnel and start HTTP.SYS and all dependent services. I would think there should be some way to set the configuration so HTTP.SYS doesn't bind specific addresses (i.e. the loopback adapter) or can be told to release them programmatically, so that the machine doesn't need to be rebooted to change the settings. Can anyone point me at a suitable resource for information? Thanks
June 14th, 2010 5:32pm

I've discovered the HttpListener class. Hopefully that will allow me to do what I want...
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2010 8:22pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics