About the issue of "WebService after a project has been released because the connecting party does not respond correctly after a period of time or the connected host is not responding"

Source: Internet
Author: User

  A recent project used Webservice;webservice published on the server, which can be accessed through a Web site, without encountering a single problem when it was developed locally, but after publishing it to the outside web, an error was reported: " The connection attempt failed because the connecting party did not reply correctly after a period of time or the connected host did not respond. such as

Again on the Internet to find a bit and did not find any good solution, see the garden before someone encountered this problem, but also did not get resolved. After consulting my manager, the problem has been solved. The following method, currently only encountered this time, do not know if you can help other garden friends, for reference only.

1. Open the WebService directory and click Show All files to expand as follows:

Open these three files in turn, and replace the WebService extranet service URLs in the following,

That is, localhost plus the port number of the WebService service extranet, and then rebuild the solution, publish.

The first time to write such an article, limited ability to express, hope forgive me. In addition everyone who has a better solution welcome to my message, hope to help everyone.

About the issue of "WebService after a project has been released because the connecting party does not respond correctly after a period of time or the connected host is not responding"

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.