为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to allow a restricted port?

  • 6 个回答
  • 6 人有此问题
  • 1 次查看
  • 最后回复者为 BrentDelta

more options

I am trying to get to a specific port and Firefox blocks the access, https://x.x.x.x:xxxxx. This is the message:

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

How can I allow a specific port?

I am trying to get to a specific port and Firefox blocks the access, https://x.x.x.x:xxxxx. This is the message: This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection. How can I allow a specific port?

被采纳的解决方案

Does the address contain an unusual port number, after a colon, such as:

example.com:9876

You can create a preference using about:config and allow the port number which Firefox is blocking. Here's how:

(0) Select and copy the following preference name

network.security.ports.banned.override

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste ports and pause while the list is filtered

If the above-listed preference exists:

(3) Double-click it and add a comma to the end of the list followed by the port number you need to allow. No spaces. Then click OK.

If the above-listed preference does not exist:

(4) right-click anywhere on the page and choose New > String

(5) In the preference name dialog, paste the name you coped and click OK

(6) In the preference value dialog, type in the port number you need to allow, then click OK.

Please see the attached screen shot for illustration.

定位到答案原位置 👍 8

所有回复 (6)

more options

选择的解决方案

Does the address contain an unusual port number, after a colon, such as:

example.com:9876

You can create a preference using about:config and allow the port number which Firefox is blocking. Here's how:

(0) Select and copy the following preference name

network.security.ports.banned.override

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste ports and pause while the list is filtered

If the above-listed preference exists:

(3) Double-click it and add a comma to the end of the list followed by the port number you need to allow. No spaces. Then click OK.

If the above-listed preference does not exist:

(4) right-click anywhere on the page and choose New > String

(5) In the preference name dialog, paste the name you coped and click OK

(6) In the preference value dialog, type in the port number you need to allow, then click OK.

Please see the attached screen shot for illustration.

由jscher2000 - Support Volunteer于修改

more options
more options

cor-el said

See also:

The article has a lot of details, so good for an informational article. But for a support/solution article, it is worthless. jscher2000's reply was on target. Mozilla should update their support KB.

more options

Once you know how the about:config page works then it is handy to have an article at hand about the name of the pref that is involved as there are quite a lot of prefs showing on the about:config page.

more options

BrentDelta said

Mozilla should update their support KB.

We don't have an article on it here in Support, that one is on a third-party site.

I honestly think this topic might be too obscure for this site, since it takes resources to keep articles updated from version to version and internationalized, and therefore we're not going to have an article on everything.

But if you want to suggest/request it, or volunteer to write it, you can post on this forum:

https://support.mozilla.org/forums/knowledge-base-articles

If you can't post on that forum, you might need to sign up as a volunteer, perhaps on this page:

https://support.mozilla.org/get-involved/kb

more options

jscher2000 said

But if you want to suggest/request it, or volunteer to write it, you can post on this forum: https://support.mozilla.org/forums/knowledge-base-articles If you can't post on that forum, you might need to sign up as a volunteer, perhaps on this page: https://support.mozilla.org/get-involved/kb

I posted a KB article for this topic. Here is the URL: https://support.mozilla.org/en-US/forums/knowledge-base-articles/711533?last=66743