php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46125 SOAPClient will not work on Vista with host name
Submitted: 2008-09-19 15:37 UTC Modified: 2009-03-24 22:34 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: krisgg at hotmail dot com Assigned:
Status: Not a bug Package: SOAP related
PHP Version: 5.2.6 OS: Windows Vista Business
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: krisgg at hotmail dot com
New email:
PHP Version: OS:

 

 [2008-09-19 15:37 UTC] krisgg at hotmail dot com
Description:
------------
When I instantiate SOAPClient with the following, the soap client times out:
http://hostname:8080/service.php?WSDL
http://localhost:8080/service.php?WSDL

When I do it with the IP as part of the url it works:
http://127.0.0.1:8080/webdecode_service.php?WSDL
http://196.27.6.23:8080/webdecode_service.php?WSDL

This was not an issue in Windows XP.  I am thinking that the problem has to do with the ipv6 protocol that when pinged returns ip in the form of fe80::640c:2041:aea0:f210%10, but even if I turn it off when I do a ping I get something of the form 2002:8648:620::8648:620.  
Do you think this is a problem with how SoapClient resolves the ip, or it's a configuration problem on my part?

thank you for your help.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-13 23:31 UTC] felipe@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-02-21 01:00 UTC] 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".
 [2009-03-24 22:30 UTC] mfeldman at alumni dot brown dot edu
The same problem exists on 5.2.9-1 and Windows Vista 64.  kriggs circumvention of replacing localhost with an IP address works also.
-Mike
 [2009-03-24 22:34 UTC] pajoye@php.net
There is no bug, IPv6 is enabled by default on Vista and on demand (using a separate install pack) on XP.

Open the hosts file (c:\windows\system32\drivers\etc\hosts) and comment the ::1 line. 
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 19:03:42 2021 UTC