How To Specify and Browse Website Using IPv6 Address With Firefox, Opera Web Browser

Q. Now, I know how to configure IPv6 tunnel but how do I browse website using IPv6 IP address like 2001:4860:0:2001::68 under Firefox or Opera web browser?

A. For command line or for browser IPv6 addresses need to be specified by enclosing addresses in square brackets like [2001:4860:0:2001::68].

ADVERTISEMENTS

Fire a webbrowser and type the following url:
http://[2001:4860:0:2001::68]/

(Fig.01: Browsing Website Using IPv6 Address)

I strongly recommend using DNS for resolving all IPv6 host names.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
25 comments… add one
  • blink4blog Jul 12, 2008 @ 7:16

    does the router also have to enable ipv6 connection? cause i checked my system supports ipv6 but i got a 404 using the address above “http://[2001:4860:0:2001::68]/”

  • 🐧 nixCraft Jul 12, 2008 @ 7:26

    No, if you are using tunnel

    Yes, if you are using native ipv6 transport

    Did you configured IPv6 tunnel?

  • blink4blog Jul 14, 2008 @ 3:30

    during my testing time i was at public wifi hotspot, but i am sure my home router sure support ipv6. thanks

  • blink4blog Jul 14, 2008 @ 3:32

    ok i tried at home, still no luck by putting

    http://[2001:4860:0:2001::68]/

    into the browser location bar.

  • jeff Sep 30, 2008 @ 15:38

    You need to enclose the address in square brackets

  • Something Jan 1, 2009 @ 14:34

    Hi. Could you help me? I am trying to connect to the same machine (running Apache) using IPv6. I take the IPv6 address for eth0 interface from `ifconfig` output, that is fe80::250:4ff:fea5:d634, and put it into address bar, i.e. http://[fe80::250:4ff:fea5:d634]/, but the browser does not connect. If I use the IPv4 address, it connects successfully.

    Of course, I can’t connect to Google using http://[2001:4860:0:2001::68]/ either.

    I use Ubuntu Linux and Firefox at the moment.

  • Something Jan 1, 2009 @ 14:36

    Sorry. That is http://[fe80::250:4ff:fea5:d634]/ what I put into the address bar, of course.

  • 🐧 nixCraft Jan 1, 2009 @ 14:41

    you need to enclose the IPv6 address in in square brackets [fe80::250:4ff:fea5:d634]

    Also, make sure apache is configured for IPv6 and listing on IPv6 port 80.

  • Something Jan 1, 2009 @ 15:01

    Thank you. I actually put the brackets, but they are not displayed in the links on this page somehow. Now I’ll try to find how to configure Apache.

  • Something Jan 1, 2009 @ 15:03

    Oh. And why can’t I connect to google? It is not under my Apache configuration…

  • Divya Jan 5, 2009 @ 17:14

    Hi Vivek,
    Thanks for the tutorials. I was able to use go6.net’s utilities to install ipv6 on a single Windows machine
    But I have multiple machines. Do I need to have a seperate account for each machine?

    Is there anyway that I can request a range of addresses and setup one machine to be the tunnel?

  • Todd Mar 31, 2009 @ 13:27

    Yes, you can use go6.net’s utilities, change the type from “host” to “router”, and then when you connect, you’ll get a /56, of which a /64 will be announced (called router advertisement) onto your local LAN/wifi connection. Your machine will then become a tunnel gateway. All of the machines on your LAN/wifi network that have ipv6 enabled will see the ipv6 network advertisement, auto generate the last 64 bits of the address, and know to speak directly to your machine in order to gateway ipv6 traffic out to the internet. It will still use whatever you have defined as the default gateway for ipv4 traffic. The two networks operate in parallel as far as the end users are concerned.

  • zyw May 4, 2010 @ 6:16

    very helpful. thank you :)

  • Vamsi Aug 10, 2010 @ 13:54

    Hi, I am not able to open IPV6 address from Firefox :(

  • Minneyar Sep 26, 2010 @ 20:46

    Hi, so to make firefox use ipv6 enter -> about:config in the adress-bar. In the field beside -> Filter: enter ipv6. There is an option named -> network.dns.disable.IPv6. Doubleclick on it so it value turns to false and firefox will check about IPv6 now…

    Minneyar

  • msaffuan Oct 14, 2010 @ 9:15

    Hi,

    I’ve strange problem here. I’ve configure a Linux web server and set a site-local IP which is fec0::c0a8:a01. I also have configure a DNSv6 at the same server to resolve IPv6 address and add a domain name test.abc.com – fec0::c0a8:a01.

    When I’m using Windows7 and set its IPv6 fec0::c0a8:a02 and DNSv6 client, i can ping the server IPv6 address and its domain name directly:
    C:\>ping6 fec0::c0a8:a01 or C:\>ping6 test.abc.com
    Reply from fec0::c0a8:a01%1: time=1ms

    I also can open the website using IPv6 address or domain name:
    http://[fec0::c0a8:a01]/ or http://test.abc.com

    But when I’m using Windows XP, after reading and googling, i manage to configure its IPv6 and DNSv6 client by using C:\>netsh interface ipv6 …. command. I’ve set the IPv6 for this PC is fec0::c0a8:a03%1. But the problem is when i want to ping to my web server, i need to include the interface id (%1) if i’m not mistaken, such as
    C:>ping6 fec0::c0a8:a01%1
    Reply from fec0::c0a8:a01%1: time=1ms

    The ping was success, but then how I want to open the website using web browser? I’ve tried http://[fec0::c0a8:a01]/ or http://[fec0::c0a8:a01%1]/ or http://test.abc.com, all doesn’t work.

    Hope you can help me with this strange problem. Sorry for my bad English but I hope you can understand my problem.

    Saffuan

  • Kiran Jun 13, 2011 @ 11:42

    For local-host, perhaps you can try (as suggested above) with [ ] brackets.

    It just worked, like this for local host apache access in a browser:

    http://[::1]/

    +Kiran

  • Eruditions Jun 19, 2012 @ 12:31

    @saffuan
    Sorry, a IPv6 address cannot be like yours. It can’t be as [fec0::c0a8:a01], because it has to have 6 numbers between the “:” not just 4.

    It’s like when searching in IPv4, an address with only 2 numbers, something like 127.0 instead of 127.0.0.15. The “address” 127.0 will be seen as (see below)
    127.0.{anything between 0 and 255}.{anything between 0 and 255},
    which is an entire pool of addressed, composed by 256 x 256 distinct values, in a range from 127.0.0.0 up to 127.0.255.255.

    Of course, that 127.0.0.15 (for example) is included in that range, too.

    Similar, when pinging the huge range of 127.0.{anything}.{anything}, as I explained above, the server /or the router/ very happily answered to you that it indeed has available in its internal network all these addresses. It did not answered to a specific request (like 127.0.0.15), even if its answer would be the same (positive). Its answer was like “yes, any address of these above is reachable by me”.

    In your case, any address between fec0::c0a8:a01:0:0 and fec0::c0a8:a01:ffff:ffff was mentioned as available. Because all are available in your internal network, at domain test.abc.com

  • Eruditions Jun 19, 2012 @ 12:33

    The Google IPv6 address above is not working anymore. Worth to mention it.
    Thank you.

  • Todd Jun 19, 2012 @ 21:07

    @Eruditions wrote “Sorry, a IPv6 address cannot be like yours. It can’t be as [fec0::c0a8:a01], because it has to have 6 numbers between the β€œ:” not just 4.”

    The :: is shorthand for “substitute zeros for all fields between”. The [fec0::c0a8:a01] address is expanded to [fec0:0:0:0:0:0:c0a8:a01] internally. The guy’s problem is that internally, his windows is still configured to prefer an ipv4 path over an ipv6 path. I’m not a windows guy, so I can’t offer any suggestions.

  • Vladimir Linevich Jul 11, 2012 @ 12:43

    I’ve successfully configured the tunnel and my web server also works fine with ipv6.
    How should i force my browser to prefer ipv6 over ipv4 ?

    I was trying to put in my /etc/hosts

    [my:ip:v6:addr] site.com http://www.site.com

    but my browser still resoves ‘site.com’ as ipv4 addr and connects via ipv4.

    Any ideas?

  • seven Mar 7, 2015 @ 6:39

    I have a tablet dedicate to IPv6 (uncheck IPv4 in adapter).

    why, I am behind GFW, which haven’t block every IPv6 address to youtube yet.

  • Jason Cevelin May 2, 2015 @ 21:40

    Shortest way to type ipv6 address in your web browser!

    Surround the ipv6 address with []

    For example:
    For ipv6 address of 2607:f8b0:4004:807::1005
    Type this in your browser!
    [2607:f8b0:4004:807::1005]

    Hope this comment helps!

  • Ana Aug 23, 2015 @ 14:52

    This dont work in some countries

  • rob Sep 21, 2016 @ 11:21

    Hi,
    Thanks for it really good, I have an ipv6 url and with port number but it didn’t work so can anyone check it and help how to run it on browser
    http://[2A01:4400:2:0:0:0:0:167]:8500
    http://[2a01:4400:2::167]:8500/
    please …

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.