hosts文件原始值是多少|hosts文件默认里面是什么

1. HOSTS那个文件里面原版内容应该怎么填

默认的hosts文件只用一行,即:127.0.0.1 localhost

2. hosts原文件是什么

Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,还是比较重要的一个文件。

当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,可以简化上网流程。

3. hosts文件默认里面是什么

这个文件是根据TCP/IP for Windows 的标准来工作的,它的作用是包含IP地址和Host name

4. 恢复win10的hosts默认值

恢复win10的hosts默认值的操作方法和详细步骤如下:

1、第一步,打开计算机,然后单击上面的地址框并输入如下图所示的地址,然后进入下一步。

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

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 host127.0.0.1 localhost2.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.108loopback 1273.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 protocolicmp 1 ICMP # Internet control message protocolggp 3 GGP # Gateway-gateway protocoltcp 6 TCP # Transmission control protocolegp 8 EGP # Exterior gateway protocolpup 12 PUP # PARC universal packet protocoludp 17 UDP # User datagram protocolhmp 20 HMP # Host monitoring protocolxns-idp 22 XNS-IDP # Xerox NS IDPrdp 27 RDP # "reliable datagram" protocolrvd 66 RVD # MIT remote virtual disk4.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/tcpecho 7/udpdiscard 9/tcp sink nulldiscard 9/udp sink nullsystat 11/tcp users #Active userssystat 11/tcp users #Active usersdaytime 13/tcpdaytime 13/udpqotd 17/tcp quote #Quote of the dayqotd 17/udp quote #Quote of the daychargen 19/tcp ttytst source #Character generatorchargen 19/udp ttytst source #Character generatorftp-data 20/tcp #FTP, dataftp 21/tcp #FTP. controltelnet 23/tcpsmtp 25/tcp mail #Simple Mail Transfer Protocoltime 37/tcp timservertime 37/udp timserverrlp 39/udp resource #Resource Location Protocolnameserver 42/tcp name #Host Name Servernameserver 42/udp name #Host Name Servernicname 43/tcp whoisdomain 53/tcp #Domain Name Serverdomain 53/udp #Domain Name Serverbootps 67/udp dhcps #Bootstrap Protocol Serverbootpc 68/udp dhcpc #Bootstrap Protocol Clienttftp 69/udp #Trivial File Transfergopher 70/tcpfinger 79/tcphttp 80/tcp www www-http #World Wide Webkerberos 88/tcp krb5 kerberos-sec #Kerberoskerberos 88/udp krb5 kerberos-sec #Kerberoshostname 101/tcp hostnames #NIC Host Name Serveriso-tsap 102/tcp #ISO-TSAP Class 0rtelnet 107/tcp #Remote Telnet Servicepop2 109/tcp postoffice #Post Office Protocol – Version 2pop3 110/tcp #Post Office Protocol – Version 3sunrpc 111/tcp rpcbind portmap #SUN Remote Procere Callsunrpc 111/udp rpcbind portmap #SUN Remote Procere Callauth 113/tcp ident tap #Identification Protocoluucp-path 117/tcpnntp 119/tcp usenet #Network News Transfer Protocolntp 123/udp #Network Time Protocolepmap 135/tcp loc-srv #DCE endpoint resolutionepmap 135/udp loc-srv #DCE endpoint resolutionnetbios-ns 137/tcp nbname #NETBIOS Name Servicenetbios-ns 137/udp nbname #NETBIOS Name Servicenetbios-dgm 138/udp nbdatagram #NETBIOS Datagram Servicenetbios-ssn 139/tcp nbsession #NETBIOS Session Serviceimap 143/tcp imap4 #Internet Message Access Protocolpcmail-srv 158/tcp #PCMail Serversnmp 161/udp #SNMPsnmptrap 162/udp snmp-trap #SNMP trapprint-srv 170/tcp #Network PostScriptbgp 179/tcp #Border Gateway Protocolirc 194/tcp #Internet Relay Chat Protocol ipx 213/udp #IPX over IPldap 389/tcp #Lightweight Directory Access Protocolhttps 443/tcp MComhttps 443/udp MCommicrosoft-ds 445/tcpmicrosoft-ds 445/udpkpasswd 464/tcp # Kerberos (v5)kpasswd 464/udp # Kerberos (v5)isakmp 500/udp ike #Internet Key Exchangeexec 512/tcp #Remote Process Executionbiff 512/udp comsatlogin 513/tcp #Remote Loginwho 513/udp whodcmd 514/tcp shellsyslog 514/udpprinter 515/tcp spoolertalk 517/udpntalk 518/udpefs 520/tcp #Extended File Name Serverrouter 520/udp route routedtimed 525/udp timeservertempo 526/tcp newdatecourier 530/tcp rpcconference 531/tcp chatnetnews 532/tcp readnewsnetwall 533/udp #For emergency broadcastsuucp 540/tcp uucpdklogin 543/tcp #Kerberos loginkshell 544/tcp krcmd #Kerberos remote shellnew-rwho 550/udp new-whoremotefs 556/tcp rfs rfs_serverrmonitor 560/udp rmonitordmonitor 561/udpldaps 636/tcp sldap #LDAP over TLS/SSLdoom 666/tcp #Doom Id Softwaredoom 666/udp #Doom Id Softwarekerberos-adm 749/tcp #Kerberos administrationkerberos-adm 749/udp #Kerberos administrationkerberos-iv 750/udp #Kerberos version IVkpop 1109/tcp #Kerberos POPphone 1167/udp #Conference callingms-sql-s 1433/tcp #Microsoft-SQL-Server ms-sql-s 1433/udp #Microsoft-SQL-Server ms-sql-m 1434/tcp #Microsoft-SQL-Monitorms-sql-m 1434/udp #Microsoft-SQL-Monitor wins 1512/tcp #Microsoft Windows Internet Name Servicewins 1512/udp #Microsoft Windows Internet Name Serviceingreslock 1524/tcp ingresl2tp 1701/udp #Layer Two Tunneling Protocolpptp 1723/tcp #Point-to-point tunnelling protocolradius 1812/udp #RADIUS authentication protocolradacct 1813/udp #RADIUS accounting protocolnfsd 2049/udp nfs #NFS serverknetd 2053/tcp #Kerberos de-multiplexorman 9535/tcp #Remote Man Server我所给出的都是该文件的初始数值,请对照检查去吧.

6. 安卓手机原始hosts文件内容是什么

hosts文件的内容大致如下

有部分是只有 127.0.01 localhost这一条

Android手机hosts文件路径在:/system/etc/hosts

7. 如何恢复win10的hosts默认值

1、首先进入Win10系统的hosts文件所在位置,我们直接输入C:WindowsSystem32Driversetc后回车就可以打开了,右键hosts文件,选择属性


赞 (0)