When using PHP to get remote API data, the operating computer cannot open the website

Source: Internet
Author: User
For example a website is ooxx.com
This site has a function, that is, through the API to obtain remote data, if this URL is: ooxx.com/get.php

When the ooxx.com/get.php is executed, the computer (the computer that opens the URL, not the server) cannot access any of the ooxx.com pages, and the other computers (that is, the same network) can access the ooxx.com any page normally.

The feeling is that all the network connection pressure that gets the API is on this machine rather than on the server.

Reply content:

For example a website is ooxx.com
This site has a function, that is, through the API to obtain remote data, if this URL is: ooxx.com/get.php

When the ooxx.com/get.php is executed, the computer (the computer that opens the URL, not the server) cannot access any of the ooxx.com pages, and the other computers (that is, the same network) can access the ooxx.com any page normally.

The feeling is that all the network connection pressure that gets the API is on this machine rather than on the server.

Suspect is browser maximum HTTP connection limit exploded
See http://www.zhihu.com/question/20474326

Of course, it may be your local network environment is rather strange, such as halfway through the path of a limited agent

  • Related Article

    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.