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

last updated in Categories

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].


Fire a webbrowser and type the following url:

(Fig.01: Browsing Website Using IPv6 Address)

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


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

25 comment

  1. 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]/”

  2. No, if you are using tunnel

    Yes, if you are using native ipv6 transport

    Did you configured IPv6 tunnel?

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

  4. ok i tried at home, still no luck by putting


    into the browser location bar.

  5. 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.

  6. 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.

  7. 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.

  8. Hi Vivek,
    Thanks for the tutorials. I was able to use’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?

  9. Yes, you can use’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.

  10. 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…


  11. 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 – 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
    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

    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, 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.


  12. 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:



  13. @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 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 up to

    Of course, that (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, 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

  14. @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.

  15. 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


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

    Any ideas?

  16. 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.

  17. 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!

    Hope this comment helps!

    Still, have a question? Get help on our forum!