127.0.0.1's IPv6 equivalent

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

127.0.0.1's IPv6 equivalent

Post by toasty2 »

I was bored so I started reading up on IPv6. Wikipedia says that ::1/128 is the equivalent of localhost. So, I stuck "http://[::1/128]" in the URL bar and it doesn't work and I am running a webserver on this computer (localhost and 127.0.0.1 work fine) Is there something I'm missing here? (This isn't really a serious problem...I'm just bored).
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Re: 127.0.0.1's IPv6 equivalent

Post by timvw »

GWsux wrote:I was bored so I started reading up on IPv6. Wikipedia says that ::1/128 is the equivalent of localhost. So, I stuck "http://[::1/128]" in the URL bar and it doesn't work and I am running a webserver on this computer (localhost and 127.0.0.1 work fine) Is there something I'm missing here? (This isn't really a serious problem...I'm just bored).
Should be http://::1/128 .. And apache should be configured to bind to ipv6 too...
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Hmm, last I checked, you needed the brackets when using IPv6 in URIs. That's how HTML Purifier implements it, anyway.
And apache should be configured to bind to ipv6 too
Same goes with your box. It's actually a bit of a complicated bugger to get working.
Post Reply