Daniel0 Posted July 3, 2008 Share Posted July 3, 2008 I'm having a slight problem I don't really know how to resolve. When typing localhost in my browser address bar it tries to load http://www.localhost.com. It is obviously not supposed to do that. When I ping localhost it resolves to ::1, i.e. the IPv6 version of IPv4's 127.0.0.1. I'm running Windows Vista. Does anyone know how to fix that? >ping localhost Pinging daniel-laptop [::1] from ::1 with 32 bytes of data: Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Ping statistics for ::1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms I have the same issue with my computer's name, daniel-laptop: >ping daniel-laptop Pinging daniel-laptop [fe80::3817:28db:3f57:ff98%14] from fe80::3817:28db:3f57:ff98%14 with 32 bytes of data: Reply from fe80::3817:28db:3f57:ff98%14: time<1ms Reply from fe80::3817:28db:3f57:ff98%14: time<1ms Reply from fe80::3817:28db:3f57:ff98%14: time<1ms Reply from fe80::3817:28db:3f57:ff98%14: time<1ms Ping statistics for fe80::3817:28db:3f57:ff98%14: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Does anyone know how to fix that? It's incredibly annoying Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/ Share on other sites More sharing options...
redbullmarky Posted July 3, 2008 Share Posted July 3, 2008 is your hosts file all ok? amond the other ones i've set up for local dev, my hosts file contains: 127.0.0.1 localhost ::1 localhost Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581266 Share on other sites More sharing options...
redbullmarky Posted July 3, 2008 Share Posted July 3, 2008 if you're not a primary Window's user or not familiar with where bits and pieces are, the hosts file is at C: >> Windows >> System32 >> drivers >> etc >> hosts Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581268 Share on other sites More sharing options...
Daniel0 Posted July 3, 2008 Author Share Posted July 3, 2008 Yeah. It has those entries. Along with a couple of other I added myself. Funny thing is though, the manual ones I've added myself (dev.phpfreaks for instance) that also point to 127.0.0.1 work fine though. It just doesn't like localhost and LAN computer names anymore :-\ Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581272 Share on other sites More sharing options...
redbullmarky Posted July 3, 2008 Share Posted July 3, 2008 might sound like a far fetched guess, but have you tried a different browser? and has the problem occured just today or since upgrading to FF3 (assuming you have) Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581275 Share on other sites More sharing options...
Daniel0 Posted July 3, 2008 Author Share Posted July 3, 2008 It's a system-wide issue. The ping results reveal that. Not even disabling IPv6 in Vista resolves it. It started today. First time I wanted to use my localhost today was right now. Worked yesterday. Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581279 Share on other sites More sharing options...
redbullmarky Posted July 3, 2008 Share Posted July 3, 2008 i get the same ping results as you and localhost still ok for me, so that's probably not the issue. I've have had cross-browser issues before hence my suggestion - otherwise - this is the point i bail out and say I have not got a clue Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581281 Share on other sites More sharing options...
Daniel0 Posted July 3, 2008 Author Share Posted July 3, 2008 Strange. Thanks for trying to help me though Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581284 Share on other sites More sharing options...
trq Posted July 3, 2008 Share Posted July 3, 2008 Sounds much more liek a browser issue than that of name resolution. Seems your browser is auto prepending/appending www .com Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581307 Share on other sites More sharing options...
Daniel0 Posted July 3, 2008 Author Share Posted July 3, 2008 Hmm... it appears you are somehow right. At first I only tested using IE and FF and those have the same results (i.e. not working). I just tried in Opera though, and it did work... :-\ Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581315 Share on other sites More sharing options...
trq Posted July 3, 2008 Share Posted July 3, 2008 Hmm... it appears you are somehow right. You sound so surprised Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581330 Share on other sites More sharing options...
ober Posted July 4, 2008 Share Posted July 4, 2008 Opera wins again! Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581395 Share on other sites More sharing options...
Daniel0 Posted July 4, 2008 Author Share Posted July 4, 2008 Well, Opera must have localhost hardcoded to resolve to 127.0.0.1. My computer hostname doesn't resolve correctly in Opera either. I guess it is a system issue after all :-\ Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581531 Share on other sites More sharing options...
trq Posted July 4, 2008 Share Posted July 4, 2008 I guess it is a system issue after all Most likely, I mean, it is called windows vista after all. I shouldn't say that. A big part of being a Linux advicate is not bagging other OS's and understanding that it (Linux) can't be everything for everybody (hell, I'm even typing this msg from my xp machine I use in my studio). Can't we just all get allong? Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581564 Share on other sites More sharing options...
Daniel0 Posted July 4, 2008 Author Share Posted July 4, 2008 I removed the ::1 localhost entry and that did the trick. I'm not sure why it would suddenly break though. It worked quite fine like that before. Oddly that also fixed the issue with it not loading when I try daniel-laptop in the browser. However, when I ping daniel-laptop I still get the IPv6 address. It's a mystery to me, but now it works again at least... I guess it is a system issue after all Most likely, I mean, it is called windows vista after all. I shouldn't say that. A big part of being a Linux advicate is not bagging other OS's and understanding that it (Linux) can't be everything for everybody (hell, I'm even typing this msg from my xp machine I use in my studio). Can't we just all get allong? Oh I like Linux, but it doesn't have the software I like/need. Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581570 Share on other sites More sharing options...
trq Posted July 4, 2008 Share Posted July 4, 2008 Oh I like Linux, but it doesn't have the software I like/need. Yeah, thats what I used to think too. Now I know for most things it actually has better software, and its free to use and modify to my needs. Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581580 Share on other sites More sharing options...
Daniel0 Posted July 4, 2008 Author Share Posted July 4, 2008 Unfortunately, my school requires me to use an application called FirstClass. Even though it has Linux support, it has really poor Linux support. It seems that they have stopped development for Linux because the latest version for Linux is 8.315 while for OSX and Windows it's 9.106. It's lacking an entire major release. It's also really buggy on Linux; it has managed to crash X several times. Moreover does it plainly look ugly on Linux. It's trying to emulate some sort of Windows XP theme it appears. In this instance it is not possible for me to pick an alternative because it's a proprietary client on a proprietary protocol on a proprietary server. No alternatives. I wish my school would just switch away from it entirely because it sucks on Windows as well. Also, I like Adobe CS, and it's not available for Linux either. Quote Link to comment https://forums.phpfreaks.com/topic/113143-solved-ipv6-gtfo/#findComment-581583 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.