<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>localhost</title>
	<atom:link href="https://www.aitaocui.cn/tag/228486/feed" rel="self" type="application/rss+xml" />
	<link>https://www.aitaocui.cn</link>
	<description>翡翠玉石爱好者聚集地</description>
	<lastBuildDate>Sat, 26 Nov 2022 19:40:33 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>

<image>
	<url>https://www.aitaocui.cn/wp-content/uploads/2022/11/taocui.png</url>
	<title>localhost</title>
	<link>https://www.aitaocui.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>localhost(特殊的DNS主机名)</title>
		<link>https://www.aitaocui.cn/article/340229.html</link>
					<comments>https://www.aitaocui.cn/article/340229.html#respond</comments>
		
		<dc:creator><![CDATA[多愁善感的人]]></dc:creator>
		<pubDate>Sat, 26 Nov 2022 19:40:33 +0000</pubDate>
				<category><![CDATA[百科]]></category>
		<category><![CDATA[localhost]]></category>
		<guid isPermaLink="false">https://www.aitaocui.cn/?p=340229</guid>

					<description><![CDATA[local在电脑里面就是指本地的意思。扩展资料localhost在计算机网络中，localhost（意为“本地主机”，指“这台计算机”）是给回路网络接口（loopback）的一个标...]]></description>
										<content:encoded><![CDATA[</p>
<article>
<p>local在电脑里面就是指本地的意思。扩展资料localhost在计算机网络中，localhost（意为“本地主机”，指“这台计算机”）是给回路网络接口（loopback）的一个标准主。</p>
</article>
<p><img decoding="async" src="https://www.aitaocui.cn/wp-content/uploads/2022/08/20220828_630bd1555f9ac.jpg" /></p>
<article>
<h1>简介</h1>
<p>这个名称也是一个保留域名(RFC2606)，为了避免同狭义定义主机名混淆而单独列出。</p>
<p>在可用其他方式使用计算机主机名称的地方，可以指定主机为localhost。例如，将web服务器上安装的web浏览器指向http://localhost。</p>
<p>将会显示运行这个浏览器的计算机上所服务的网站的主页，但是只有当web服务器配置至服务回路接口时才能显示。</p>
</p>
<p>一个特殊的DNS主机名，代表分配给引用这个名称的计算机的IP地址。把这个名称看作是提供快速但是不可靠服务的无连接协议。</p>
<p>localhost指你所在的计算机本身。</p>
<p>在windows系统它成了127.0.0.1的别名，在Unix系统下，查看网卡配置会发现作为本地回环的方式，一定程序上使用localhost比127.0.0.1要快一些。</p>
</p>
<p>重要重申localhost和IIS，IE，windows无关,他就是指你使用的计算机本身。在Hosts文件中localhost指向的IP是127.0.0.1这个关系是可以修改的。windows修改localhost指向。</p>
<div></div>
<h1>设置</h1>
<h2 id="a-15557987">windows中设置</h2>
<p>两种方法找到localhost设置：</p>
<p>1、运行drivers打开etc文件下hosts就看到了127.0.0.1localhost.</p>
<p>2、打开C://WINDOWS//system32//drivers//etc//hosts文件，此文件可以用记事本打开打开如下：</p>
<p>#Copyright(c)1993-1999MicrosoftCorp.</p>
<p>#This is a sample HOSTS file used by Microsoft TCP/IP for Windows.</p>
<p>#This file contains the mappings of IP addresses to host names. Each.</p>
<p>#entry should be kept on an individual line. The IP address should.</p>
<p>#be placed in the first column followed by the corresponding host name.</p>
<p>#The IP address and the host name should be separated by at least one.</p>
<p>#space.</p>
<p>#Additionally, comments (such as these) may be inserted on individual.</p>
<p>#lines or following the machine name denoted by a &#x27;#&#x27;symbol.</p>
<p>#For example:</p>
<p>#102.54.94.97（这里不让显示）#sources erver.</p>
<p>#38.25.63.10（这里不让显示）#x client host.</p>
<p>127.0.0.1localhost</p>
<p>最下面的：127.0.0.1localhost，这两个参数你可以随意改。格式是IP空格域名。</p>
<h2 id="a-b2cf1b7a">linux中设置</h2>
<p>在Linux系统中，系统管理员在为用户建立新帐号时赋给用户一个用户名和一个初始的口令。另外，Linux系统给计算机赋予一个主机名。</p>
<p>主机名用于在网络上识别独立的计算机（即使用户的计算机没有联网，也应该有一个主机名）。TurboLinux系统给出的缺省主机名为：localhost。</p>
<p>在Linux系统成功启动后，屏幕会提示：localhost login，意思就是系统要求输入用户名，接着要求输入口令。否则将无法登录系统，也就无法使用。</p>
</article>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aitaocui.cn/article/340229.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
