设置windows网络连接别名和linux网络连接别名

 2023-09-05 阅读 327 评论 0

摘要:windows网络连接别名 C:\Windows\System32\drivers\etc目录下的hosts文件中添加 127.0.0.1 localhost 192.168.1.100 proxy.zj.chinamobile.com linux网络连接别名 /etc/hosts # Do not remove the following line, or various programs # that require network functionali

windows网络连接别名

C:\Windows\System32\drivers\etc目录下的hosts文件中添加

127.0.0.1 localhost
192.168.1.100 proxy.zj.chinamobile.com

 

linux网络连接别名

/etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.1.100 test1
192.168.1.101 test2

 

设置好以后,可以绕过域名解析,直接用域名访问相应IP的网站了。






本文转自秋楓博客园博客,原文链接:http://www.cnblogs.com/rwxwsblog/p/4505786.html,如需转载请自行联系原作者

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/1/294.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息