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 by googling.
  • Go to about:config in your Firefox browser.
  • Right click somewhere, and choose "New => String"
  • In the setting Name box type ""
  • In the Setting Value box, type "1-65535" or whatever port-range you want to allow.
  • Click OK


  1. It doesn't work on FF3.5

  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?