作者:电脑信息网日期:
返回目录:win7问题
win7 host文件内容e799bee5baa6e79fa5e98193e4b893e5b19e330:
# Copyright (c) 2009-2010 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
127.0.0.1 localhost
一、首先,打开Windows7系统,在“我复的电脑”中找到以下路径。
二、制然后,在文件百夹中选度中“host”,知在右键菜单中选择“打开”道。
三、然后,在对话框中选择“记事本”,点击打开。
四、最后,在记事本界面中配置HOST文件,问题解决。
hosts.ics 就是你做共享主机时,对其他通过你的电脑上网的客户机生效的百hosts
Hosts其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”
Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是度将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从内Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,如果没有找到,则系统会再将网址提交DNS域名解析服务器进行IP地址的解析。
需要注意的是,Hosts文件配置的映射是容静态的,如果网络上的计算机更改了请及时更新IP地址,否则将不能访问