How to access IPv6 IP address from web browser

These days I am playing with IPv6 and tried to access few sites directly by IP address.

It looks like the browsers are trying to interpret the IPv6 address as name:port and the connection of course fail.

If you type directly in the browser, for example:

http://2a02:2e0:3fe:100::8

you will get error message.

If you want this to be interpreted as IPv6 address you will have to type the address like this:

http://[2a02:2e0:3fe:100::8]

I tested this on Linux with the following browsers:

Firefox
Opera
Google Chrome

2 comments:

  1. and if you want to specify a port, say 8888, do it thusly: http://[2a02:2e0:3fe:100::8]:8888

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete

Comment