Nusoap error, check for a long time also did not solve, master to see it, thank you

Source: Internet
Author: User
The first time with Nusoap, error, checked for a long time or did not solve the problem, ask a master.

003.php as follows:
 
  Register (' hello '); $server->service ($HTTP _raw_post_data);

004.php as follows:
 
  Call (' Hello '), echo $res, if ($client->geterror ()) {echo $client->geterror ();}

Browser access: http://localhost/eroom/004.php, the following message appears:

HTTP error:couldn ' t open socket connection to server http://www.127.0.0.1/eroom/003.php prior to connect (). This is often a problem looking up the host name.



Excuse me: what is the cause? How to solve? Thank you very much



Reply to discussion (solution)

Are you sure the URL is accurate?

http://www.127.0.0.1/eroom/003.php
?? The address has a??。
?? It's 127.0.0.1.

Are you sure the URL is accurate?



http://www.127.0.0.1/eroom/003.php
?? The address has a??。
?? It's 127.0.0.1.


My fault!!!
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.