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的网站了。
版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。
工作时间:8:00-18:00
客服电话
电子邮件
admin@qq.com
扫码二维码
获取最新动态