ID: 40279 Updated by: paj...@php.net Reported By: SiliconFiend at gmail dot com -Status: No Feedback +Status: Bogus Bug Type: Sockets related Operating System: Windows XP SP2 PHP Version: 5.2.0 New Comment:
::1 being resolved as 1st address is not a php problem. See the other localhost with IPv6 issues for an explanation and how to work around this problem. Previous Comments: ------------------------------------------------------------------------ [2009-06-13 16:02:17] ray at kristenandray dot net I'm experiencing this issue as well. Anything I can do to help someone look into it? System: OS: Windows Vista Home Premium x64 PHP: Precompiled v5.2.8 Server: MS Expression Web 2 Development Server (Cassini?) Not sure if it matters, but configuration of the integrated server in Expression web requires using php-cgi.exe, rather than php.exe It would be nice to get this fixed... ------------------------------------------------------------------------ [2007-04-28 17:48:44] giunta dot gaetano at gmail dot com Very weird, this started happening to me, too. Symptoms: + ping 'localhost' returns ::1 + using "telnet localhost 80" works, ie apache responds ok + php fsockopen(localhost) stalls, plus apache show no access logs, nor etheral captures any packets on any nic How ipv6 got enabled is a mystery to me. It is explicitly disabled on ALL network connections I have in use. All I did today was enabling the wifi nic (intel 2200) to connect to my new home lan... Maybe the dns server is broadcasting ipv6 addresses for localhost (wtf) ??? I tried ipconfig /flushdns to no avail. No trace of ::1 in etc/hosts either... btw, ipconfig /displaydns shows: 5.64.3.10.in-addr.arpa ---------------------------------------- Nome record . . . . . : 5.64.3.10.in-addr.arpa. Tipo record . . . . . : 12 Durata (TTL). . . . . : 0 Lunghezza dati. . . . : 4 Sezione . . . . . . . : Risposta Record PTR . . . . . : srvmappemxp 1.0.0.127.in-addr.arpa ---------------------------------------- Nome record . . . . . : 1.0.0.127.in-addr.arpa. Tipo record . . . . . : 12 Durata (TTL). . . . . : 0 Lunghezza dati. . . . : 4 Sezione . . . . . . . : Risposta Record PTR . . . . . : localhost srvmappemxp ---------------------------------------- Nome record . . . . . : srvmappemxp Tipo record . . . . . : 1 Durata (TTL). . . . . : 0 Lunghezza dati. . . . : 4 Sezione . . . . . . . : Risposta Record A (Host) . . . : 10.3.64.5 localhost ---------------------------------------- Nome record . . . . . : localhost Tipo record . . . . . : 1 Durata (TTL). . . . . : 0 Lunghezza dati. . . . : 4 Sezione . . . . . . . : Risposta Record A (Host) . . . : 127.0.0.1 ------------------------------------------------------------------------ [2007-03-14 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-02-17 17:31:21] SiliconFiend at gmail dot com I think I installed IPv6 on Windows using the "Install..."->Protocol function on the Properties window for my network connection. You can also open a command window and type "ipv6 install" to accomplish the same thing. Internet Explorer can't handle IPv6 literal addresses (such as [::1]) in the URL. See http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-windows.aspx Unfortunately, in an effort to work around this problem, I made some changes to my IPv6 configuration and now Apache is no longer binding to my IPv6 address, so I can't display a page even in Firefox right now. I'm trying to fix it. ------------------------------------------------------------------------ [2007-02-12 19:16:35] tony2...@php.net How exactly did you enable IPv6 support in your Windows? >when http://[::1]/ is entered in Firefox, so Apache >is responding to IPv6 requests on port 80. Try using this address in telnet and MSIE. Do they work too? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40279 -- Edit this bug report at http://bugs.php.net/?id=40279&edit=1