[Mini Program] The problem of net::ERR_NAME_NOT_RESOLVED

content

background

solve

Summarize

Solution 1

Summary 2


background

I was developing a small program recently, and then an error occurred

POST https://xxxxxxxxxxxxx.php net::ERR_NAME_NOT_RESOLVED

Open the above url to find

Can't access this site

 The server IP address for xxxxxxxx could not be found  .

 I thought my server was out of date, but I checked and it hasn't expired

solve

It's weird, just when I was about to write a blog to document the current situation, it was accessible

However, when I log in to the Tencent Cloud console locally, I am prompted to log in from different places, requiring me to verify

Personal guess, it may be a temporary exception caused by remote login

Summarize

orz, I just wrote the summary, but now I get an error again

POST https://xxxxxxxxxxxxx.php net::ERR_NAME_NOT_RESOLVED

Well, move on to the solved part

Solution 1

ping the domain name

C:\Users\xxx>ping xxxxxx.xxx
Ping request could not find host xxxxxx.xxx. Please check the name and try again.

Ping the ip, it's normal, it's probably the dns exception here

Resolve the domain name in the cloud console

Access is normal, and the applet runs normally

ping the domain name is normal

everything is normal

Summary 2

Today's situation is a bit strange. I didn't expect it to suddenly appear abnormal, but it was solved.

There are many resources around now, because with Google and Baidu, we can quickly solve the problem

Make reasonable use of the resources around you and make progress little by little

=========================================Dividing line======== =======================================

Updated on May 3, 2019 14:30

Recently, it was found that when uploading the interface, the interface has not yet taken effect due to the delay, and the applet will also report this error. If this is the case, it is recommended to wait for a while and recompile the test.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326152250&siteId=291194637