Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hosts文件内容有错误 #198

Open
AomaYple opened this issue Feb 13, 2024 · 2 comments
Open

hosts文件内容有错误 #198

AomaYple opened this issue Feb 13, 2024 · 2 comments

Comments

@AomaYple
Copy link

127.0.1.1 myarch.localdomain myarch
应该是127.0.0.1吧

@s-chance
Copy link
Contributor

s-chance commented Feb 13, 2024

127.0.1.1 通常默认用于配置主机的全限定域名,是某种配置惯例。但是大部分情况下,配置为 127.0.0.1 也不会有什么大问题。极个别特殊情况可能需要配置为非 127.0.0.1 的地址。

具体请参考wiki的手册hosts

@AomaYple
Copy link
Author

127.0.1.1 通常默认用于配置主机的全限定域名,是某种配置惯例。但是大部分情况下,配置为 127.0.0.1 也不会有什么大问题。极个别特殊情况可能需要配置为非 127.0.0.1 的地址。

具体请参考wiki的手册hosts

感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants