Net::err_connection_refused Solutions

Source: Internet
Author: User

Recently want to put their own projects through Ngrok hanging online, but found a problem, originally in their own computer to run all the normal procedures, the link to others, on the newspaper "net::err_connection_refused" error, baffled, This thought is the cause of Ngrok, later found that the link in their own computer opened completely normal, and began to search for reasons, summed up the following several situations:
1. Web page has plug-ins , such as Adblock, you can prohibit these plug-ins after the attempt, can also "ctrl+shift+n" into stealth mode;
2. No resources found, url is wrong , such as my machine in the configuration file in the configuration of the ctxstatic configured to Http://localhost:8080/morning/static, and then through the Ngrok to send the link to others, When they visit, they will look for the path from their machine, and will naturally report this error, the solution: 1, change to the local ip;2, to ${pagecontext.request.contextpath}/static.

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.