Sunday, November 25, 2007

firefox doesn't play nice with tunnels

Created a tunnel over ssh from my remote machine to use the studio server's internal webserver, similar to tunneling TightVNC. Got a firefox error when trying to access the tunnel using http://localhost:6000 -
This address is restricted: This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.
Found the solution at http://www.purple.dropbear.id.au/node/139 by googling.
  • Go to about:config in your Firefox browser.
  • Right click somewhere, and choose "New => String"
  • In the setting Name box type "network.security.ports.banned.override"
  • In the Setting Value box, type "1-65535" or whatever port-range you want to allow.
  • Click OK

2 comments:

  1. It doesn't work on FF3.5

    ReplyDelete
  2. I tried it on my FF3.5, and it seems to be working even though the about:config does not show up this setting name. Maybe because I set it and then upgraded?

    ReplyDelete