windows下主机名与IP地址的映射
2015-10-08 00:13
330 查看
windows下主机名与IP地址的映射关系文件在 C:\windows\system32\drivers\etc\hosts 文件里面。
# Copyright (c) 1993-1999 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:
127.0.0.1 localhost
# Copyright (c) 1993-1999 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:
127.0.0.1 localhost
相关文章推荐
- Trump成功笔记3
- (一)VBA基础——显示Excel的【开发工具】选项卡
- 适配器模式
- Dalvik VM (DVM) 与Java VM (JVM)之间有哪些区别?
- 数据库增删改查语句
- BFS POJ1426 Find The Multiple
- C语言中getch()、getche()和getchar()
- 设计模式—简单工厂模式
- 数据存取的方式和应用沙盒目录的常见获取方式
- JAVA部分关键字简析
- poj2986&&poj3675【圆与多边形相交面积模板】
- UVa 10537 - The Toll! Revisited
- 【软件工程】不同阶段产生的图
- 著名博客
- HDU 4020 Ads Proposal
- kafka集群搭建
- monkey命令行参数详解
- plish文件的读取(NSBundle)
- 盘点2020中国电商平台TOP10
- 软件 bug 的生命周期