Windows 10主机文件不parsing任何域

Windows 10主机文件不parsing任何域,第1张

概述Windows 10主机文件不parsing任何域

我编辑我的主机文件,以添加一个新的本地开发环境,从那时起,即使没有新的条目,它将无法正常工作。 我虽然文件必须腐败,所以我做了一个新的,仍然没有运气。

我已经确保使用正确的语法,正确的编码(ANSI也试过UTF-8),没有.txt文件扩展名,没有奇怪的字符(使用记事本++上的显示字符)我甚至尝试将其设置为系统文件试图强制windows使用它,但也没有工作。

另外我刷新ipconfig的DNS,我已经尝试closureswindows DNS服务,重新启动。 它似乎正在被完全忽略。

我大部分时间都在谷歌,这让我很难过!

使用FtpWebRequest附加到大型机上的文件的问题

CakePHP 1.3:高cpu使用率

WCF托pipe在windows服务错误

linux的哪个发行版最适合Java Web应用程序?

dns lookup在离线状态下不能正常工作

hosts文件包含以下内容

127.0.0.1 ocommerce.test 127.0.0.1 www.ocommerce.test

这就对了。

我也试过了

127.0.0.1 ocommerce.test www.ocommerce.test

127.0.0.1 ocommerce.test www.ocommerce.test

当Ping域名时,我得到“Ping请求无法find主机ocommerce.test,请检查名称,然后再试一次”。

任何帮助将被大力赞赏。

编辑:

如果其他人甚至在创build新文件之后仍然在苦苦挣扎,请尝试复制这些内容并将行添加到底部。 (这是我所复制的,不知道为什么,但之后它的工作!)

# copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for windows. # # This file contains the mapPings of IP addresses to host names. Each # entry should be kept on an indivIDual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally,comments (such as these) may be inserted on indivIDual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x clIEnt host # localhost name resolution is handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost

在Python 2.6.4的urllib2:任何方式来覆盖windows主机文件?

从Win32应用程序和IBM RDZ / Eclipse一致访问大型机文件?

/ etc / hosts不会影响PHP

如何从http:// localhost:8123中删除端口号作为http:// localhost?

如何让windows 7上的Web浏览器考虑etc / hosts文件

从另一台机器上复制一个已知的好文件,并确保只用windows内置的记事本编辑器或记事本++编辑新文件 – 而不是其他任何东西。

总结

以上是内存溢出为你收集整理的Windows 10主机文件不parsing任何域全部内容,希望文章能够帮你解决Windows 10主机文件不parsing任何域所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/1271667.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-08
下一篇2022-06-08

发表评论

登录后才能评论

评论列表(0条)

    保存