问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

同在hosts文件目录下面的的几个文件原始值是什么?

发布网友 发布时间:2022-04-25 21:22

我来回答

3个回答

热心网友 时间:2022-06-17 15:26

1.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 indivial 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 indivial
# 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

2.networks:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This file contains network name/network number mappings for
# local networks. Network numbers are recognized in dotted decimal form.
#
# Format:
#
# <network name> <network number> [aliases...] [#<comment>]
#
# For example:
#
# loopback 127
# campus 284.122.107
# london 284.122.108

loopback 127

3.protocol:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This file contains the Internet protocols as defined by RFC 1700
# (Assigned Numbers).
#
# Format:
#
# <protocol name> <assigned number> [aliases...] [#<comment>]

ip 0 IP # Internet protocol
icmp 1 ICMP # Internet control message protocol
ggp 3 GGP # Gateway-gateway protocol
tcp 6 TCP # Transmission control protocol
egp 8 EGP # Exterior gateway protocol
pup 12 PUP # PARC universal packet protocol
udp 17 UDP # User datagram protocol
hmp 20 HMP # Host monitoring protocol
xns-idp 22 XNS-IDP # Xerox NS IDP
rdp 27 RDP # "reliable datagram" protocol
rvd 66 RVD # MIT remote virtual disk

4.services:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This file contains port numbers for well-known services defined by IANA
#
# Format:
#
# <service name> <port number>/<protocol> [aliases...] [#<comment>]
#

echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users #Active users
systat 11/tcp users #Active users
daytime 13/tcp
daytime 13/udp
qotd 17/tcp quote #Quote of the day
qotd 17/udp quote #Quote of the day
chargen 19/tcp ttytst source #Character generator
chargen 19/udp ttytst source #Character generator
ftp-data 20/tcp #FTP, data
ftp 21/tcp #FTP. control
telnet 23/tcp
smtp 25/tcp mail #Simple Mail Transfer Protocol
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource #Resource Location Protocol
nameserver 42/tcp name #Host Name Server
nameserver 42/udp name #Host Name Server
nicname 43/tcp whois
domain 53/tcp #Domain Name Server
domain 53/udp #Domain Name Server
bootps 67/udp dhcps #Bootstrap Protocol Server
bootpc 68/udp dhcpc #Bootstrap Protocol Client
tftp 69/udp #Trivial File Transfer
gopher 70/tcp
finger 79/tcp
http 80/tcp www www-http #World Wide Web
kerberos 88/tcp krb5 kerberos-sec #Kerberos
kerberos 88/udp krb5 kerberos-sec #Kerberos
hostname 101/tcp hostnames #NIC Host Name Server
iso-tsap 102/tcp #ISO-TSAP Class 0
rtelnet 107/tcp #Remote Telnet Service
pop2 109/tcp postoffice #Post Office Protocol - Version 2
pop3 110/tcp #Post Office Protocol - Version 3
sunrpc 111/tcp rpcbind portmap #SUN Remote Procere Call
sunrpc 111/udp rpcbind portmap #SUN Remote Procere Call
auth 113/tcp ident tap #Identification Protocol
uucp-path 117/tcp
nntp 119/tcp usenet #Network News Transfer Protocol
ntp 123/udp #Network Time Protocol
epmap 135/tcp loc-srv #DCE endpoint resolution
epmap 135/udp loc-srv #DCE endpoint resolution
netbios-ns 137/tcp nbname #NETBIOS Name Service
netbios-ns 137/udp nbname #NETBIOS Name Service
netbios-dgm 138/udp nbdatagram #NETBIOS Datagram Service
netbios-ssn 139/tcp nbsession #NETBIOS Session Service
imap 143/tcp imap4 #Internet Message Access Protocol
pcmail-srv 158/tcp #PCMail Server
snmp 161/udp #SNMP
snmptrap 162/udp snmp-trap #SNMP trap
print-srv 170/tcp #Network PostScript
bgp 179/tcp #Border Gateway Protocol
irc 194/tcp #Internet Relay Chat Protocol
ipx 213/udp #IPX over IP
ldap 389/tcp #Lightweight Directory Access Protocol
https 443/tcp MCom
https 443/udp MCom
microsoft-ds 445/tcp
microsoft-ds 445/udp
kpasswd 464/tcp # Kerberos (v5)
kpasswd 464/udp # Kerberos (v5)
isakmp 500/udp ike #Internet Key Exchange
exec 512/tcp #Remote Process Execution
biff 512/udp comsat
login 513/tcp #Remote Login
who 513/udp whod
cmd 514/tcp shell
syslog 514/udp
printer 515/tcp spooler
talk 517/udp
ntalk 518/udp
efs 520/tcp #Extended File Name Server
router 520/udp route routed
timed 525/udp timeserver
tempo 526/tcp newdate
courier 530/tcp rpc
conference 531/tcp chat
netnews 532/tcp readnews
netwall 533/udp #For emergency broadcasts
uucp 540/tcp uucpd
klogin 543/tcp #Kerberos login
kshell 544/tcp krcmd #Kerberos remote shell
new-rwho 550/udp new-who
remotefs 556/tcp rfs rfs_server
rmonitor 560/udp rmonitord
monitor 561/udp
ldaps 636/tcp sldap #LDAP over TLS/SSL
doom 666/tcp #Doom Id Software
doom 666/udp #Doom Id Software
kerberos-adm 749/tcp #Kerberos administration
kerberos-adm 749/udp #Kerberos administration
kerberos-iv 750/udp #Kerberos version IV
kpop 1109/tcp #Kerberos POP
phone 1167/udp #Conference calling
ms-sql-s 1433/tcp #Microsoft-SQL-Server
ms-sql-s 1433/udp #Microsoft-SQL-Server
ms-sql-m 1434/tcp #Microsoft-SQL-Monitor
ms-sql-m 1434/udp #Microsoft-SQL-Monitor
wins 1512/tcp #Microsoft Windows Internet Name Service
wins 1512/udp #Microsoft Windows Internet Name Service
ingreslock 1524/tcp ingres
l2tp 1701/udp #Layer Two Tunneling Protocol
pptp 1723/tcp #Point-to-point tunnelling protocol
radius 1812/udp #RADIUS authentication protocol
radacct 1813/udp #RADIUS accounting protocol
nfsd 2049/udp nfs #NFS server
knetd 2053/tcp #Kerberos de-multiplexor
man 9535/tcp #Remote Man Server

我所给出的都是该文件的初始数值,请对照检查去吧.

热心网友 时间:2022-06-17 15:26

具体如下:

ip:0     IP       # Internet protocol

icmp     1     ICMP     # Internet control message protocol

ggp      3     GGP      # Gateway-gateway protocol

tcp      6     TCP      # Transmission control protocol

egp      8     EGP      # Exterior gateway protocol

pup      12    PUP      # PARC universal packet protocol

udp      17    UDP      # User datagram protocol

hmp      20    HMP      # Host monitoring protocol

xns-idp  22    XNS-IDP  # Xerox NS IDP

rdp      27    RDP      # "reliable datagram" protocol

rvd      66    RVD      # MIT remote virtual disk

echo                7/tcp

echo                7/udp

discard             9/tcp    sink null

discard             9/udp    sink null

systat             11/tcp    users                  #Active users

systat             11/tcp    users                  #Active users

daytime            13/tcp

daytime            13/udp

qotd               17/tcp    quote                  #Quote of the day

qotd               17/udp    quote                  #Quote of the day

chargen            19/tcp    ttytst source          #Character generator

chargen            19/udp    ttytst source          #Character generator

ftp-data           20/tcp                           #FTP, data

ftp                21/tcp                           #FTP. control

telnet             23/tcp

smtp               25/tcp    mail                   #Simple Mail Transfer Protocol

time               37/tcp    timserver

time               37/udp    timserver

rlp                39/udp    resource               #Resource Location Protocol

nameserver         42/tcp    name                   #Host Name Server

nameserver         42/udp    name                   #Host Name Server

nicname            43/tcp    whois

domain             53/tcp                           #Domain Name Server

domain             53/udp                           #Domain Name Server

bootps             67/udp    dhcps                  #Bootstrap Protocol Server

bootpc             68/udp    dhcpc                  #Bootstrap Protocol Client

tftp               69/udp                           #Trivial File Transfer

gopher             70/tcp

finger             79/tcp

http               80/tcp    www www-http           #World Wide Web

kerberos           88/tcp    krb5 kerberos-sec      #Kerberos

kerberos           88/udp    krb5 kerberos-sec      #Kerberos

hostname          101/tcp    hostnames              #NIC Host Name Server

iso-tsap          102/tcp                           #ISO-TSAP Class 0

rtelnet           107/tcp                           #Remote Telnet Service

pop2              109/tcp    postoffice             #Post Office Protocol - Version 2

pop3              110/tcp                           #Post Office Protocol - Version 3

sunrpc            111/tcp    rpcbind portmap        #SUN Remote Procere Call

sunrpc            111/udp    rpcbind portmap        #SUN Remote Procere Call

auth              113/tcp    ident tap              #Identification Protocol

uucp-path         117/tcp

nntp              119/tcp    usenet                 #Network News Transfer Protocol

ntp               123/udp                           #Network Time Protocol

epmap             135/tcp    loc-srv                #DCE endpoint resolution

epmap             135/udp    loc-srv                #DCE endpoint resolution

热心网友 时间:2022-06-17 15:27

,如果里边有 网址-IP地址 这样的设置,会直接对浏览器内输入的该地址进行解析,而不会访问网络上的DNS服务器解析。

由于病毒,木马的入侵,有时候hosts会被恶意修改。
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
瑞安市塘下航达汽车电器配件厂怎么样? 意尔康公司总部地址在哪里 I only wish to face the sea, with spring blossoms是什么意思 征信五级分类是什么?被纳入黑名单有什么影响? 你好,如果诈骗分子利用你隐私视频和盗取你的通讯录好友威胁你要钱的话... ...对方有我的私密照片还有通讯录,要求我给他五千,要不然就发我家人,我... ...现在已经一个月没有性生活了。但是她平时对我很好 是怎么了?_百度... 女人半年没有性生活正常吗 谁能用英语给我写一段游戏里面的征婚启事? 征婚启事用英文怎么说? 我用瑞星密盘把我的文件加密了,没有解直接把瑞星密盘软件给卸了,然后文件打不开 瑞星加密盘自动没了 被加密的文件也找不到了 应该怎样找到 RVD文件怎么转换 rvd文件夹加密如何解密 糖醋鲤鱼应该怎么做呢? 糖醋鲤鱼怎么做?急! 知道一个人的,但不是好友。怎么加他的抖音 怎么通过加抖音好友 洋钱罐借款显示1个小时内到账是不是下款成功了? 洋钱罐36小时还没下款 洋钱罐2022春节放款时间 洋钱罐早上几点放款 CFA有哪些考试题型? 全民k歌电视版怎么录音 为什么全民k歌k歌电视版的我的声音没有 大熊迷你厨房的东西真的是自己做的吗? 迷你厨房燃料罐怎么用 迷你厨房,龙吟栗子蛋糕,花了2天才做好了,比普通栗子好吃十倍 迷你厨房芝士热狗棒,用五毛成本做出来的,芝士才是力量 迷你厨房,蒸鸡蛋羹,直接加水蒸就错了,学会这技巧,嫩滑无气孔 中国各个民族有哪些? 瑞星加密盘忘记密码怎么办?我在E盘设置了个瑞星加密区,但现在密码忘记了。里面的文件都重要,怎么能解密 C:&#92;WINDOWS&#92;system32&#92;drivers&#92;etc下的protocol文件正常状态都有什么文件?可以删除么? 中国所有民族的名称? 怎样在不下载加密软件的情况下给自己的文件夹加密? 中国各民族人口 声音陷阱by寻念txt文件 怎样把MKV的视频文件转换成DVD或VCD 魔兽3下载后解压得一堆文件 但是安装不了 中国各民族的由来 我装了office2013怎么缷载用回原来的2003? .AAC .aac .m4a .M4A为后缀的格式有什么不同? 视频网站上的类似FLASH的视频是怎么制作的? 虚拟机 ios 镜像文件 废铁回收价格下降原因 现在大连废铁什么价 废铁价格会上升吗谢谢了,大神帮忙啊 2011年全国各大钢厂回收废铁价格表 现在废铁价格多少钱一吨 请问废铁收好了卖到那里去价格高点?