Captive portal detection

Firefox Firefox Igcine ukuvuselelwa: 2 days, 2 hours ago 48% of users voted this helpful
Akekho umuntu osesize ukuhumusha le athikhili okwamanje. Uma usuvele sewazi ukuthi kusebenza kanjani ukuhunyushwa kwe-SUMO, qala ukuhumusha manje. Uma usafuna ukufunda ukuthi ahunyushwa kanjani ama-athikhili e-SUMO, uyacelwa uqale lapha.

When you connect to public Wi-Fi, like an airport, coffee shop, or a corporate guest network, you often see a web page asking you to sign in, accept terms, or enter a password before you can use the internet. This page is called a captive portal. Most captive portals ask you to agree to an Acceptable Use Policy (AUP).

Firefox's captive portal detector tests whether the network connection requires you to sign in or accept the network's terms before permitting you to use it. Sometimes the page doesn’t appear on its own, and you’ll need to open it manually to get online .

How Firefox detects captive portals

When Firefox detects that you’re connected to a network but not yet online, it will:

  • Open the network’s sign-in page in a new tab.
  • If the network uses a captive portal, Firefox will show a message like, “You must log in to this network before you can access the internet.”

Once you complete the sign-in, Firefox will close the tab and your connection will work normally. If the page was left open by Firefox, you may simply close it. Occasionally, it will be kept around to display a message from the network's owners. If this happens frequently, please file a Networking bug and describe your case (requires creating a Bugzilla account).

Firefox tests if the connection is a captive portal by regularly connecting to http://detectportal.firefox.com/canonical.html. Firefox will also make connections to this URL to check if your current network supports certain technologies such as IPv6.

What do I do if the sign-in page doesn’t automatically appear?

If Firefox doesn’t show the page:

  1. Try visiting any website, as most captive portals will redirect you to the sign-in page.
  2. Disconnect and reconnect to the Wi-Fi network, then try again.

If you still can’t access the sign-in page after trying the above, you can try the following:

  • Restart your device to refresh the network connection and trigger the sign-in page.
  • Temporarily turn off any VPN or proxy until you’ve signed in.
  • Open a new private browsing window to avoid cached sessions that might block the portal.

Related articles

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More