Skip to content

Fixing the “Port Restricted for Security Reasons” error in Firefox

Port Restricted for Security Reasons
This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.

This is an error I met for the first time earlier today in Firefox. I thought wow, they’re really starting to pick noob-friendly default settings now. But well, as usual they provide us with a way to customize the browser to our need: the responsible settings for this are and contains a list of ports that will be added to the default (hard-coded) banned list. If the port you wanted to reach is in this variable, remove it (restarting the browser may be necessary for the setting to apply). Ports are listed separated by commas. contains a list of ports that will be removed from the default (hard-coded) banned list. If the port you wanted to reach is not in, you’ll need to add it here.

To finish my story, the port I wanted to access (8118) was added to the banned list most likely by the TorButton extension.

More details: on MozillaZine on MozillaZine
Mozilla Port Blocking

Posted in Firefox.

2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Kin says

    I have this error but neither of those keys are present in my about:config

    This is an outrage for Mozilla to be steering me away from content and wasting my time like this.

    • patheticcockroach says

      Actually, Namoroka doesn’t seem to have this setting anymore. And I didn’t take note of what URL was causing me this trouble, so I can’t tell if I’m still having it…

      Edit: just checked TFM ^^, and rediscovered that doesn’t exist by default, you need to create it from about:config.

Some HTML is OK

or, reply to this post via trackback.

Sorry about the CAPTCHA that requires JS. If you really don't want to enable JS and still want to comment, you can send me your comment via e-mail and I'll post it for you.

Please solve the CAPTCHA below in order to fight spamWordPress CAPTCHA