Failed to load resource: net::ERR_NAME_NOT_RESOLVED
时间: 2023-09-25 19:07:34 浏览: 1379
这个错误通常表示你的网络连接存在问题,无法解析域名。你可以尝试以下方法解决该问题:
1. 检查你的网络连接是否正常,尝试重新连接网络或者重启路由器。
2. 检查你的电脑是否设置了正确的 DNS 服务器,可以尝试修改 DNS 服务器地址为 8.8.8.8 或者 114.114.114.114。
3. 清除你的浏览器缓存和 cookies,然后重新访问网站。
4. 如果问题仍然存在,可以尝试使用其他浏览器或者设备进行访问。
相关问题
Failed to load resource: net::ERR_FILE_NOT_FOUND index.html:1 Access to script at 'file:///D:/static/js/index-2d27bd93.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https. index-2d27bd93.js:1 Failed to load resource: net::ERR_FAILED /D:/static/nlogo.ico:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
从错误信息来看,第一个错误是 `Failed to load resource: net::ERR_FILE_NOT_FOUND`,说明浏览器无法找到 `index-2d27bd93.js` 文件。这个可能是因为你的服务器没有正确地映射到 `static` 目录,请确保你的服务器配置正确,并且能够正确地映射到这个目录。
另一个错误是 `Access to script at 'file:///D:/static/js/index-2d27bd93.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.`。这个错误是因为浏览器禁止从本地文件系统加载跨域脚本。你需要在一个服务器环境中运行你的应用程序,例如在 `http://localhost` 上运行你的应用程序。
还有一个错误是 `Failed to load resource: net::ERR_FILE_NOT_FOUND /D:/static/nlogo.ico:1`,这个错误是因为浏览器无法找到 `nlogo.ico` 文件。你需要确保这个文件存在于正确的路径中,并且能够被正确地映射到。
Failed to load resource: net::ERR_FILE_NOT_FOUND
This error occurs when the browser is unable to load a requested resource from the server. The "ERR_FILE_NOT_FOUND" error specifically means that the file the browser is trying to access is not present in the specified location.
Some common reasons for this error include:
- The file has been deleted or moved from its original location.
- The file name or URL is incorrect or misspelled.
- The server is not correctly configured to serve the requested file.
To resolve this error, try the following steps:
- Check that the file exists in the specified location.
- Double-check the file name and URL for any errors.
- Clear your browser cache and try again.
- If you are the website owner, check your server configuration to ensure that the file is being served correctly.
阅读全文