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

by on July 11, 2008 · 21 comments· LAST UPDATED October 7, 2008

in

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:

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


(Fig.01: Browsing Website Using IPv6 Address)

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

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 21 comments… read them below or add one }

1 blink4blog July 12, 2008 at 7:16 am

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

Reply

2 nixCraft July 12, 2008 at 7:26 am

No, if you are using tunnel

Yes, if you are using native ipv6 transport

Did you configured IPv6 tunnel?

Reply

3 blink4blog July 14, 2008 at 3:30 am

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

Reply

4 blink4blog July 14, 2008 at 3:32 am

ok i tried at home, still no luck by putting

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

into the browser location bar.

Reply

5 jeff September 30, 2008 at 3:38 pm

You need to enclose the address in square brackets

Reply

6 Something January 1, 2009 at 2:34 pm

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.

Reply

7 Something January 1, 2009 at 2:36 pm

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

Reply

8 nixCraft January 1, 2009 at 2:41 pm

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.

Reply

9 Something January 1, 2009 at 3:01 pm

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.

Reply

10 Something January 1, 2009 at 3:03 pm

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

Reply

11 Divya January 5, 2009 at 5:14 pm

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?

Reply

12 Todd March 31, 2009 at 1:27 pm

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.

Reply

13 zyw May 4, 2010 at 6:16 am

very helpful. thank you :)

Reply

14 Vamsi August 10, 2010 at 1:54 pm

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

Reply

15 Minneyar September 26, 2010 at 8:46 pm

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

Reply

16 msaffuan October 14, 2010 at 9:15 am

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

Reply

17 Kiran June 13, 2011 at 11:42 am

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

Reply

18 Eruditions June 19, 2012 at 12:31 pm

@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

Reply

19 Eruditions June 19, 2012 at 12:33 pm

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

Reply

20 Todd June 19, 2012 at 9:07 pm

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

Reply

21 Vladimir Linevich July 11, 2012 at 12:43 pm

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?

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , ,

Previous Faq:

Next Faq: