The host file--map a name to an IP address

简介: The host file is located at \windows\system32\drivers\etc\* and the format is --------------------------------------------...

The host file is located at \windows\system32\drivers\etc\* and the format is

-----------------------------------------------------------------------------------------------------------------

# 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 handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost


10.213.4.8 testcomputername

-----------------------------------------------------------------------------------------------------------------

目录
相关文章
|
5月前
|
应用服务中间件 nginx
HOST 碰撞
HOST 碰撞
32 0
|
17天前
|
网络架构 开发者
|
5月前
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=\‘repo.anaconda.com\‘, port
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=\‘repo.anaconda.com\‘, port
202 0
|
8月前
成功解决localhost is not a valid address
成功解决localhost is not a valid address
|
9月前
|
应用服务中间件
Error:Remote staging type or host is not specified.
Error:Remote staging type or host is not specified.
location.host和location.hostname区别
location.host和location.hostname区别
120 0
|
网络安全 容器
MinIO: Console endpoint is listening on a dynamic port , please use --console-address
MinIO: Console endpoint is listening on a dynamic port , please use --console-address
1473 0
MinIO: Console endpoint is listening on a dynamic port , please use --console-address
|
分布式计算 Hadoop Java
hbase_异常_05_End of File Exception between local host is: "rayner/127.0.1.1"; destination host is: "localhost":9000;
一、异常信息 java.io.EOFException: End of File Exception between local host is: "ubuntu/127.0.1.1"; destination host is: "localhost":9000; : java.
4420 0
|
网络协议 C# 数据库
Convert IPv6 Address to IP numbers (C#)
URL: http://lite.ip2location.com/ Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.
1419 0
|
Web App开发 缓存 网络协议
Shit! 我的host到底怎么了?
背景 那是今年五月的某一天,我的mac在切换系统host后,chrome迟迟不生效,依然访问的是原来的环境. 开发和测试同学在做项目时,需要经常进行 日常环境 预发环境 线上环境的切换,其实切的就是系统的host.如果浏览器总是延迟,或者死活不生效的活,基本上你就在那不停的刷新\刷新\刷新. 或者重新启动浏览器.心情会很烦躁的有木有. 解决方案 遇到这个问题的时候,一般我们有以
1552 0

热门文章

最新文章