<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.planetoid.info/index.php?action=history&amp;feed=atom&amp;title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6</id>
	<title>網路服務連線測試 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.planetoid.info/index.php?action=history&amp;feed=atom&amp;title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6"/>
	<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;action=history"/>
	<updated>2026-05-06T11:58:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25529&amp;oldid=prev</id>
		<title>Planetoid: /* 如何連線到網路服務 (Web 服務) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25529&amp;oldid=prev"/>
		<updated>2025-03-26T09:07:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;如何連線到網路服務 (Web 服務)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:07, 26 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果安裝了 Python 或 Node.js，則可使用替代網站服務&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果安裝了 Python 或 Node.js，則可使用替代網站服務&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 python 3.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m http.server &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}} (預設 port: 8000)&amp;lt;ref&amp;gt;[https://docs.python.org/3&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.8&lt;/del&gt;/library/http.server.html&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?highlight=http%20server#module-http.server &lt;/del&gt;http.server — &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HTTP伺服器 &lt;/del&gt;— Python 3.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1 文件&lt;/del&gt;]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 python 3.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m http.server &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}} (預設 port: 8000)&amp;lt;ref&amp;gt;[https://docs.python.org/3/library/http.server.html http.server — &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HTTP servers &lt;/ins&gt;— Python 3.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;13&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2 documentation&lt;/ins&gt;]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 Node.js) {{kbd | key=&amp;lt;nowiki&amp;gt;npx http-server -p &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}} (預設 port: 8080)&amp;lt;ref&amp;gt;[https://github.com/http-party/http-server http-server: a simple static HTTP server]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 Node.js) {{kbd | key=&amp;lt;nowiki&amp;gt;npx http-server -p &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}} (預設 port: 8080)&amp;lt;ref&amp;gt;[https://github.com/http-party/http-server http-server: a simple static HTTP server]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Planetoid</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25415&amp;oldid=prev</id>
		<title>Planetoid: /* 如何連線到網路服務 (Web 服務) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25415&amp;oldid=prev"/>
		<updated>2025-01-28T09:41:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;如何連線到網路服務 (Web 服務)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:41, 28 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果安裝了 Python 或 Node.js，則可使用替代網站服務&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如果安裝了 Python 或 Node.js，則可使用替代網站服務&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 python 3.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m http.server &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://docs.python.org/3.8/library/http.server.html?highlight=http%20server#module-http.server http.server — HTTP伺服器 — Python 3.8.1 文件]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 python 3.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m http.server &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(預設 port: 8000)&lt;/ins&gt;&amp;lt;ref&amp;gt;[https://docs.python.org/3.8/library/http.server.html?highlight=http%20server#module-http.server http.server — HTTP伺服器 — Python 3.8.1 文件]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 Node.js) {{kbd | key=&amp;lt;nowiki&amp;gt;npx http-server -p &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://github.com/http-party/http-server http-server: a simple static HTTP server]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (適用 Node.js) {{kbd | key=&amp;lt;nowiki&amp;gt;npx http-server -p &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(預設 port: 8080)&lt;/ins&gt;&amp;lt;ref&amp;gt;[https://github.com/http-party/http-server http-server: a simple static HTTP server]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 測試本地網路服務的連接性 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 測試本地網路服務的連接性 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Planetoid</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25411&amp;oldid=prev</id>
		<title>Planetoid: /* 如何連線到網路服務 (Web 服務) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25411&amp;oldid=prev"/>
		<updated>2025-01-28T08:44:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;如何連線到網路服務 (Web 服務)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:44, 28 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# {{kbd | key = telnet 127.0.0.1 &amp;lt;PORT&amp;gt;}} 如果連接網頁服務失敗。它將顯示消息：&amp;quot;telnet: 無法連接到遠程主機：連接被拒絕&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# {{kbd | key = telnet 127.0.0.1 &amp;lt;PORT&amp;gt;}} 如果連接網頁服務失敗。它將顯示消息：&amp;quot;telnet: 無法連接到遠程主機：連接被拒絕&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;如果安裝了Python，則使用替代網站服務&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;如果安裝了 Python 或 Node.js，則可使用替代網站服務&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;對於python 2&lt;/del&gt;.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SimpleHTTPServer &lt;/del&gt;&amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://docs.python.org/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/del&gt;/library/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;simplehttpserver&lt;/del&gt;.html &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;20&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;19&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SimpleHTTPServer &lt;/del&gt;— &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;簡單HTTP請求處理器 &lt;/del&gt;— Python &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;7&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;17 &lt;/del&gt;文件]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;適用 python 3&lt;/ins&gt;.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http.server &lt;/ins&gt;&amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://docs.python.org/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3.8&lt;/ins&gt;/library/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http.server&lt;/ins&gt;.html&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?highlight=http%20server#module-http&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;server http&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;server &lt;/ins&gt;— &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HTTP伺服器 &lt;/ins&gt;— Python &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1 &lt;/ins&gt;文件]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;對於python 3&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;x&lt;/del&gt;) {{kbd | key=&amp;lt;nowiki&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;python &lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;m http.&lt;/del&gt;server &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;docs&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;python.org&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3.8/library&lt;/del&gt;/http&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;server&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.html?highlight=&lt;/del&gt;http&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;%20server#module&lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http.&lt;/del&gt;server &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http.&lt;/del&gt;server &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;— HTTP伺服器 — Python 3.8.1 文件&lt;/del&gt;]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;適用 Node&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;js&lt;/ins&gt;) {{kbd | key=&amp;lt;nowiki&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;npx http&lt;/ins&gt;-server &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-p &lt;/ins&gt;&amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;github&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;com&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http-party&lt;/ins&gt;/http&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/ins&gt;server http-server&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: a simple static HTTP &lt;/ins&gt;server]&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 測試本地網路服務的連接性 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 測試本地網路服務的連接性 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Planetoid</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25408&amp;oldid=prev</id>
		<title>Planetoid at 08:36, 28 January 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25408&amp;oldid=prev"/>
		<updated>2025-01-28T08:36:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:36, 28 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如何測試與排除網路服務連線問題。找出問題發生的地方：(1) 伺服器上的本地服務 (localhost) (2) 從區域網路到伺服器 (3) 從廣域網路到伺服器&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如何測試與排除網路服務連線問題。找出問題發生的地方：(1) 伺服器上的本地服務 (localhost) (2) 從區域網路到伺服器 (3) 從廣域網路到伺服器&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &lt;/del&gt;[[Test connectivity for the web service]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in English&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{LanguageSwitcher | content = &lt;/ins&gt;[[Test connectivity for the web service &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| EN&lt;/ins&gt;]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, [[網路服務連線測試 | 漢字]] }}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 如何連線到網路服務 (Web 服務) ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 如何連線到網路服務 (Web 服務) ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Planetoid</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25319&amp;oldid=prev</id>
		<title>Planetoid: Text replacement - &quot;: Image:Owl icon.jpg &quot; to &quot;{{Tips}} &quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=25319&amp;oldid=prev"/>
		<updated>2025-01-08T12:14:10Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;: &lt;a href=&quot;/index.php/File:Owl_icon.jpg&quot; title=&quot;File:Owl icon.jpg&quot;&gt;Image:Owl icon.jpg&lt;/a&gt; &amp;quot; to &amp;quot;{{Tips}} &amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:14, 8 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;WAN &amp;amp;#9675; -------&amp;amp;gt; &amp;amp;#9675; LAN -------&amp;amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;amp;#9679; 伺服器&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;WAN &amp;amp;#9675; -------&amp;amp;gt; &amp;amp;#9675; LAN -------&amp;amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;amp;#9679; 伺服器&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: [[Image:Owl icon.jpg]] &lt;/del&gt;如果您有管理權限通過SSH或遠程桌面服務登錄伺服器。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Tips}} &lt;/ins&gt;如果您有管理權限通過SSH或遠程桌面服務登錄伺服器。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 檢查您的電腦/伺服器是否被指派了IP位址 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 檢查您的電腦/伺服器是否被指派了IP位址 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Planetoid</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24161&amp;oldid=prev</id>
		<title>Unknown user: /* 檢查埠是否被其他進程佔用？ */</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24161&amp;oldid=prev"/>
		<updated>2023-12-28T10:51:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;檢查埠是否被其他進程佔用？&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 28 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l100&quot;&gt;Line 100:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 100:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// means the 80 port service is running&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// means the 80 port service is running&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* {{Win}} &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** Using the software [http://www.nirsoft.net/utils/cports.html CurrPorts] to check the process and port. e.g. Apache will not running if the 80 port was occupied by skype&amp;lt;ref&gt;[http://stackoverflow.com/questions/4705005/how-to-solve-wamp-and-skype-conflict-on-windows-7 How to solve WAMP and Skype conflict on Windows 7? - Stack Overflow]&amp;lt;/ref&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Check if a port is blocked by browser ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Check if a port is blocked by browser ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24160&amp;oldid=prev</id>
		<title>Unknown user: /* 檢查埠是否被其他進程佔用？ */</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24160&amp;oldid=prev"/>
		<updated>2023-12-28T10:51:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;檢查埠是否被其他進程佔用？&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 28 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot;&gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers 維基百科 - TCP和UDP埠號列表]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers 維基百科 - TCP和UDP埠號列表]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Example output of netstat command, more on &lt;/ins&gt;[[Find process running on port]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Find process running on port]]&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* {{Linux}} &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** [http://linux.die.net/man/1/nmap nmap] &amp;quot;Network exploration tool and security / port scanner.&amp;quot; e.g. {{kbd | key = &amp;lt;nowiki&amp;gt;nmap -p 80,443 ip&amp;lt;/nowiki&amp;gt;}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** [http://linux.die.net/man/8/ss ss] &amp;quot;utility to investigate sockets&amp;quot; e.g. {{kbd | key = &amp;lt;nowiki&amp;gt;ss -tnlp | grep 80&amp;lt;/nowiki&amp;gt;}} or using OR operator&amp;lt;ref&amp;gt;[http://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/ 7 Linux Grep OR, Grep AND, Grep NOT Operator Examples]&amp;lt;/ref&amp;gt; {{kbd | key = &amp;lt;nowiki&amp;gt;ss -tnlp | grep &amp;#039;80\|443&amp;#039;&amp;lt;/nowiki&amp;gt;}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** [http://linuxcommand.org/man_pages/ps1.html ps] List the current processes. Input {{kbd | key = &amp;lt;nowiki&amp;gt;ps -aux | grep &amp;quot;PORT_NUMBER&amp;quot;&amp;lt;/nowiki&amp;gt;}} e.g. {{kbd | key = &amp;lt;nowiki&amp;gt;ps -aux | grep 443&amp;lt;/nowiki&amp;gt;}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** [https://docs.oracle.com/cd/E19504-01/802-5753/6i9g71m3i/index.html netstat Command] {{kbd | key=&amp;lt;nowiki&amp;gt;netstat -tulpn | grep LISTEN&amp;lt;/nowiki&amp;gt;}} e.g. &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** [https://docs.docker.com/engine/reference/commandline/port/ docker port | Docker Documentation]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Example output of netstat command&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ netstat -tulpn | grep LISTEN&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ netstat -tulpn | grep LISTEN&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24158&amp;oldid=prev</id>
		<title>Unknown user: /* Related articles */</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24158&amp;oldid=prev"/>
		<updated>2023-12-28T10:48:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Related articles&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:48, 28 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l173&quot;&gt;Line 173:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 173:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [http://check-host.net/ Check server: Check host - online website monitoring, Check IP] &amp;quot;checks the possibility of a TCP connection to host&amp;#039;s specified port from different locations around the world.&amp;quot; quoted from website. {{access | date=2015-08-02}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [http://check-host.net/ Check server: Check host - online website monitoring, Check IP] &amp;quot;checks the possibility of a TCP connection to host&amp;#039;s specified port from different locations around the world.&amp;quot; quoted from website. {{access | date=2015-08-02}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Related articles &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;相關文章 &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://errerrors.blogspot.com/2022/07/blog-post.html 怎樣排除網路連線逾時 (network connection timed out) 問題]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://errerrors.blogspot.com/2022/07/blog-post.html 怎樣排除網路連線逾時 (network connection timed out) 問題]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24157&amp;oldid=prev</id>
		<title>Unknown user at 03:33, 28 December 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24157&amp;oldid=prev"/>
		<updated>2023-12-28T03:33:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:33, 28 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如何測試與排除網路服務連線問題。找出問題發生的地方：(1) 伺服器上的本地服務 (localhost) (2) 從區域網路到伺服器 (3) 從廣域網路到伺服器&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;如何測試與排除網路服務連線問題。找出問題發生的地方：(1) 伺服器上的本地服務 (localhost) (2) 從區域網路到伺服器 (3) 從廣域網路到伺服器&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: [[Test connectivity for the web service]] in English&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 如何連線到網路服務 (Web 服務) ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 如何連線到網路服務 (Web 服務) ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24155&amp;oldid=prev</id>
		<title>Unknown user: Created page with &quot;如何測試與排除網路服務連線問題。找出問題發生的地方：(1) 伺服器上的本地服務 (localhost) (2) 從區域網路到伺服器 (3) 從廣域網路...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=%E7%B6%B2%E8%B7%AF%E6%9C%8D%E5%8B%99%E9%80%A3%E7%B7%9A%E6%B8%AC%E8%A9%A6&amp;diff=24155&amp;oldid=prev"/>
		<updated>2023-12-28T03:31:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;如何測試與排除網路服務連線問題。找出問題發生的地方：(1) 伺服器上的本地服務 (localhost) (2) 從區域網路到伺服器 (3) 從廣域網路...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;如何測試與排除網路服務連線問題。找出問題發生的地方：(1) 伺服器上的本地服務 (localhost) (2) 從區域網路到伺服器 (3) 從廣域網路到伺服器&lt;br /&gt;
&lt;br /&gt;
=== 如何連線到網路服務 (Web 服務) ===&lt;br /&gt;
&lt;br /&gt;
如果服務是網站伺服器 (web service)：&lt;br /&gt;
* (1) 打開瀏覽器，(2) 輸入地址：{{kbd | key = &amp;lt;nowiki&amp;gt;http://127.0.0.1&amp;lt;/nowiki&amp;gt; }} 或 {{kbd | key =&amp;lt;nowiki&amp;gt;http://the.domain&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Linux Lynx 指令： &lt;br /&gt;
*# (如果尚未安裝lynx，則為可選操作) {{kbd | key = &amp;lt;nowiki&amp;gt;yum install lynx&amp;lt;/nowiki&amp;gt;}} 適用於CentOS / {{kbd | key = &amp;lt;nowiki&amp;gt;sudo apt-get install lynx&amp;lt;/nowiki&amp;gt;}} 適用於Ubuntu&amp;lt;ref&amp;gt;[http://www.addictivetips.com/ubuntu-linux-tips/install-and-use-lynx-on-ubuntu/ 在Ubuntu上安裝和使用Lynx瀏覽器]&amp;lt;/ref&amp;gt;&lt;br /&gt;
*# {{kbd | key = &amp;lt;nowiki&amp;gt;lynx http://127.0.0.1&amp;lt;/nowiki&amp;gt;}} &amp;lt;ref&amp;gt;[http://lynx.isc.org/lynx2.8.7/lynx2-8-7/lynx_help/Lynx_users_guide.html Lynx使用者指南 v2.8.7]&amp;lt;/ref&amp;gt; 適用於{{Linux}}&lt;br /&gt;
&lt;br /&gt;
* telnet 指令&lt;br /&gt;
*# {{kbd | key = telnet 127.0.0.1 &amp;lt;PORT&amp;gt;}} 例如 {{kbd | key = telnet 127.0.0.1 80}} 或 {{kbd | key = telnet the.domain 80}}&lt;br /&gt;
*# (在telnet連接80埠後，輸入) {{kbd_plus | key1 = get | key2 = SPACE}}&amp;lt;ref&amp;gt;[http://www.simplescripts.de/http-check-port-80-telnet-command.htm 使用Telnet指令檢查HTTP埠口80]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* curl&amp;lt;ref&amp;gt;[https://curl.se/docs/manpage.html curl - 使用方法]&amp;lt;/ref&amp;gt;: {{kbd | key = &amp;lt;nowiki&amp;gt;curl -vL http://IP:Port&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
** (如果尚未安裝curl指令，則為可選操作) [https://help.ubidots.com/en/articles/2165289-learn-how-to-install-run-curl-on-windows-macosx-linux 在Windows/MacOSX/Linux上安裝和運行cURL | Ubidots幫助中心]&lt;br /&gt;
** 指令範例：&lt;br /&gt;
*** (1) 使用 {{kbd | key = &amp;lt;nowiki&amp;gt;curl -voL https://www.google.com&amp;lt;/nowiki&amp;gt;}} 將輸出寫入&amp;lt;file&amp;gt;而非stdout&lt;br /&gt;
*** (2) 使用 {{kbd | key = &amp;lt;nowiki&amp;gt;curl -vL https://www.google.com&amp;lt;/nowiki&amp;gt;}} 或 {{kbd | key = &amp;lt;nowiki&amp;gt;curl -voL /dev/null https://www.google.com&amp;lt;/nowiki&amp;gt;}} 將輸出寫入stdout&lt;br /&gt;
*** (3) 使用 {{kbd | key = &amp;lt;nowiki&amp;gt;curl -vOL https://www.google.com/index.html&amp;lt;/nowiki&amp;gt;}} 將輸出寫入&amp;lt;file&amp;gt;並使用遠程檔案名&lt;br /&gt;
** 如果失敗，將顯示消息：&amp;quot;failed: Connection refused&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Linux [https://www.gnu.org/software/wget/ wget] 軟體例如 {{kbd | key = &amp;lt;nowiki&amp;gt;wget https://www.google.com&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* 使用第三方網站監控服務：[[Web Ping]] &lt;br /&gt;
&lt;br /&gt;
如果服務不是網站伺服器，則使用telnet&lt;br /&gt;
# (可選) [https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc771275(v=ws.10) 在{{Win}}上安裝Telnet用戶端 | Microsoft文件]。[https://medium.com/@blackSource/bring-telnet-back-on-macos-high-sierra-11de98de1544 在macOS high Sierra上重啟telnet – Ayuth Mangmesap (blackSource) – Medium] 在{{Mac}}&lt;br /&gt;
# {{kbd | key = telnet 127.0.0.1 &amp;lt;PORT&amp;gt;}} 如果連接網頁服務失敗。它將顯示消息：&amp;quot;telnet: 無法連接到遠程主機：連接被拒絕&amp;quot;&lt;br /&gt;
&lt;br /&gt;
如果安裝了Python，則使用替代網站服務&lt;br /&gt;
&lt;br /&gt;
* (對於python 2.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m SimpleHTTPServer &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://docs.python.org/2/library/simplehttpserver.html 20.19. SimpleHTTPServer — 簡單HTTP請求處理器 — Python 2.7.17 文件]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* (對於python 3.x) {{kbd | key=&amp;lt;nowiki&amp;gt;python -m http.server &amp;lt;port&amp;gt;&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://docs.python.org/3.8/library/http.server.html?highlight=http%20server#module-http.server http.server — HTTP伺服器 — Python 3.8.1 文件]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 測試本地網路服務的連接性 ==&lt;br /&gt;
WAN &amp;amp;#9675; -------&amp;amp;gt; &amp;amp;#9675; LAN -------&amp;amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;amp;#9679; 伺服器&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: [[Image:Owl icon.jpg]] 如果您有管理權限通過SSH或遠程桌面服務登錄伺服器。&lt;br /&gt;
&lt;br /&gt;
=== 檢查您的電腦/伺服器是否被指派了IP位址 ===&lt;br /&gt;
&lt;br /&gt;
* {{Linux}}：(1) 檢查IP位址。{{kbd | key = ifconfig}}。 (2) 重新分配IP位址並重新啟動網路服務。{{kbd | key = service network restart}} 用於CentOS&amp;lt;ref&amp;gt;[http://askubuntu.com/questions/230698/how-to-restart-the-networking-service 如何重新啟動網路服務？ - Ask Ubuntu]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* {{Win}}：檢查IP位址。{{kbd | key = ifconfig/all}} &lt;br /&gt;
* 更多關於[[網路問題]]&lt;br /&gt;
&lt;br /&gt;
=== 檢查網路服務是否已成功啟動？ ===&lt;br /&gt;
* Apache {{kbd | key = /etc/init.d/httpd status}} 在CentOS7上 &amp;lt;ref&amp;gt;[https://www.e2enetworks.com/help/knowledge-base/how-to-check-running-status-of-lamp-stack/ 如何檢查LAMP堆棧的運行狀態 | E2E Networks知識庫]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* nginx {{kbd | key = sudo service nginx status}} 在CentOS7上 &lt;br /&gt;
* Docker容器 {{kbd | key = docker ps}} 檢查容器是否在運行和暴露埠口&amp;lt;ref&amp;gt;[https://docs.docker.com/engine/reference/commandline/ps/ docker ps | Docker文件]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 檢查MySQL是否已成功啟動？ ===&lt;br /&gt;
==== 使用lsof指令 ==== &lt;br /&gt;
{{kbd | key = lsof -i:3306}} 在{{Mac}}或{{Linux}} 在Unix類操作系統中用於列出打開的文件及打開它們的進程。&lt;br /&gt;
&lt;br /&gt;
* lsof：這代表&amp;quot;列出打開的文件&amp;quot;。它是一個命令行工具，顯示有關由進程打開的文件的資訊。在Unix和Linux中，一切都被視為文件（包括硬體設備、套接字和目錄），因此lsof是系統管理員監控和排除系統行為問題的強大工具。&lt;br /&gt;
&lt;br /&gt;
* -i：這個選項告訴lsof僅顯示網絡文件。在Unix和Linux中，網絡連接被視為文件。-i選項可用於根據互聯網地址或網絡協議過濾連接。&lt;br /&gt;
&lt;br /&gt;
* :3306：這指定了埠號。埠3306通常被MySQL使用，這是一個流行的數據庫管理系統。通過包括:3306，您要求lsof列出所有與埠3306相關的網絡文件（包括套接字連接）。&lt;br /&gt;
&lt;br /&gt;
輸出範例：localhost:mysql (LISTEN) 意味著MySQL已成功啟動&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COMMAND     PID      USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME&lt;br /&gt;
mysqld    93034 account   29u  IPv4 0xxxx      0t0  TCP localhost:mysql (LISTEN)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 使用ps指令 ====&lt;br /&gt;
&lt;br /&gt;
{{kbd | key = &amp;lt;nowiki&amp;gt;ps aux | grep mysql&amp;lt;/nowiki&amp;gt;}} 在{{Mac}}&lt;br /&gt;
&lt;br /&gt;
如果MySQL已成功啟動的輸出範例：&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
_mysql           11083   0.3  0.2 409657280  31424   ??  Ss    2:12下午   0:01.07 /usr/local/mysql/bin/mysqld --user=_mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --log-error=/usr/local/mysql/data/mysqld.local.err --pid-file=/usr/local/mysql/data/mysqld.local.pid --keyring-file-data=/usr/local/mysql/keyring/keyring --early-plugin-load=keyring_file=keyring_file.so&lt;br /&gt;
ACCOUNT        12349   0.0  0.0 408645328   1648 s011  S+    2:14下午   0:00.00 grep mysql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
如果MySQL沒有成功啟動的示例輸出：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ACCOUNT        12349   0.0  0.0 408645328   1648 s011  S+    2:14下午   0:00.00 grep mysql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 檢查埠是否被其他進程佔用？ ===&lt;br /&gt;
檢查埠是否被其他協議使用&lt;br /&gt;
&lt;br /&gt;
[https://www.speedguide.net/ports.php SG TCP/IP埠數據庫]&lt;br /&gt;
[https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers 維基百科 - TCP和UDP埠號列表]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Find process running on port]]&lt;br /&gt;
&lt;br /&gt;
* {{Linux}} &lt;br /&gt;
** [http://linux.die.net/man/1/nmap nmap] &amp;quot;Network exploration tool and security / port scanner.&amp;quot; e.g. {{kbd | key = &amp;lt;nowiki&amp;gt;nmap -p 80,443 ip&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
** [http://linux.die.net/man/8/ss ss] &amp;quot;utility to investigate sockets&amp;quot; e.g. {{kbd | key = &amp;lt;nowiki&amp;gt;ss -tnlp | grep 80&amp;lt;/nowiki&amp;gt;}} or using OR operator&amp;lt;ref&amp;gt;[http://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/ 7 Linux Grep OR, Grep AND, Grep NOT Operator Examples]&amp;lt;/ref&amp;gt; {{kbd | key = &amp;lt;nowiki&amp;gt;ss -tnlp | grep &amp;#039;80\|443&amp;#039;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
** [http://linuxcommand.org/man_pages/ps1.html ps] List the current processes. Input {{kbd | key = &amp;lt;nowiki&amp;gt;ps -aux | grep &amp;quot;PORT_NUMBER&amp;quot;&amp;lt;/nowiki&amp;gt;}} e.g. {{kbd | key = &amp;lt;nowiki&amp;gt;ps -aux | grep 443&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
** [https://docs.oracle.com/cd/E19504-01/802-5753/6i9g71m3i/index.html netstat Command] {{kbd | key=&amp;lt;nowiki&amp;gt;netstat -tulpn | grep LISTEN&amp;lt;/nowiki&amp;gt;}} e.g. &lt;br /&gt;
** [https://docs.docker.com/engine/reference/commandline/port/ docker port | Docker Documentation]&lt;br /&gt;
&lt;br /&gt;
Example output of netstat command&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ netstat -tulpn | grep LISTEN&lt;br /&gt;
&lt;br /&gt;
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      - &lt;br /&gt;
&lt;br /&gt;
// means the 80 port service is running&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* {{Win}} &lt;br /&gt;
** Using the software [http://www.nirsoft.net/utils/cports.html CurrPorts] to check the process and port. e.g. Apache will not running if the 80 port was occupied by skype&amp;lt;ref&amp;gt;[http://stackoverflow.com/questions/4705005/how-to-solve-wamp-and-skype-conflict-on-windows-7 How to solve WAMP and Skype conflict on Windows 7? - Stack Overflow]&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Check if a port is blocked by browser ===&lt;br /&gt;
Check if a port is blocked by browser&amp;lt;ref&amp;gt;[https://blog.miniasp.com/post/2022/05/02/Dont-use-ERR_UNSAFE_PORT-for-your-website?fbclid=IwAR2y9D60H-j8-5T1zJixTU-L2ydbn7LgnWpG1v53fyaKCyuuqx2MqfU80fI 開發與部署網站時需注意不要使用到 ERR_UNSAFE_PORT 不安全的埠號 | The Will Will Web]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* {{Chrome}} [https://chromium.googlesource.com/chromium/src.git/+/refs/heads/master/net/base/port_util.cc#52 net/base/port_util.cc - chromium/src.git - Git at Google]&lt;br /&gt;
* [https://fetch.spec.whatwg.org/#port-blocking Fetch Standard] 2.9. Port blocking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Is the port opened for external users? ===&lt;br /&gt;
Check the OS firewall or protected by antivirus software&lt;br /&gt;
&lt;br /&gt;
** {{Linux}}&lt;br /&gt;
*** [http://linux.die.net/man/8/iptables iptables]: (1) {{kbd | key = iptables -L}} to list all rules&amp;lt;ref&amp;gt;[http://wiki.centos.org/HowTos/Network/IPTables HowTos/Network/IPTables - CentOS Wiki]&amp;lt;/ref&amp;gt; (2) rule with smaller line-number will override the rule with larger line-number&amp;lt;ref&amp;gt;[https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:Rforlot How to edit iptables rules - FedoraProject]&amp;lt;/ref&amp;gt;&lt;br /&gt;
*** [https://fedoraproject.org/wiki/FirewallD FirewallD] rules: (1) {{kbd | key = &amp;lt;nowiki&amp;gt;sudo firewall-cmd --get-default-zone&amp;lt;/nowiki&amp;gt;}} return &amp;#039;public&amp;#039; (2) {{kbd | key = &amp;lt;nowiki&amp;gt;sudo firewall-cmd --list-all --zone=public&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7 How To Set Up a Firewall Using FirewallD on CentOS 7 | DigitalOcean]&amp;lt;/ref&amp;gt; (3) Allow port with FirewallD&lt;br /&gt;
*** [http://linux.die.net/man/8/semanage SELinux Policy Management]:  (1) After installed {{kbd | key =policycoreutils-python}}&amp;lt;ref&amp;gt;[http://sharadchhetri.com/2014/10/07/semanage-command-found-centos-7-rhel-7/ semanage command not found on CentOS 7 and RHEL 7]&amp;lt;/ref&amp;gt;, input {{kbd | key = &amp;lt;nowiki&amp;gt;semanage port -l&amp;lt;/nowiki&amp;gt;}} to list open ports. (2) Allow port with semanage.&lt;br /&gt;
** {{Win}} [https://technet.microsoft.com/en-us/library/cc754274.aspx?f=255&amp;amp;MSPPError=-2147217396 Windows Firewall with Advanced Security] -&amp;gt; configure firewall rules&lt;br /&gt;
** protected by antivirus software?&lt;br /&gt;
* connect to localhost ex: {{kbd | key= telnet 127.0.0.1 23}} where 23 is the port number where the service running&lt;br /&gt;
** [https://technet.microsoft.com/en-us/library/cc771275(v=ws.10).aspx Install Telnet Client] on {{Win}}&lt;br /&gt;
** if the local service is web server, you can also try  {{kbd | key = &amp;lt;nowiki&amp;gt;lynx http://127.0.0.1&amp;lt;/nowiki&amp;gt;}} for {{Linux}}&lt;br /&gt;
* double [[Testing#check_the_server.2Fservice_logs | check the server/service logs]]&lt;br /&gt;
&lt;br /&gt;
== Test connectivity from LAN to the server ==&lt;br /&gt;
WAN &amp;amp;#9675; -------&amp;amp;gt; &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;amp;#9679; LAN -------&amp;amp;gt; &amp;amp;#9679; server&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Testing on LAN (local network, subnet scope): The different servers between LAN or with the same ip class (ex: 1.2.3.*) and may not have the firewall limit. [https://en.wikipedia.org/wiki/Private_network Private network] / Private IP address&lt;br /&gt;
&lt;br /&gt;
* Is the service alive? &lt;br /&gt;
* Connect to the internal IP eg: {{kbd | key= telnet 172.18.0.1 23}} (1) IP start with 172.18... is [http://www.itcom.itd.umich.edu/backbone/umnet/privateIP.html Private IP Network Numbers] (2) where 23 is the port number where the service running&lt;br /&gt;
* If the local service is web server, you can also try to connect the internal IP e.g. {{kbd | key = &amp;lt;nowiki&amp;gt;lynx http://172.18.0.1&amp;lt;/nowiki&amp;gt;}} for {{Linux}}&lt;br /&gt;
* Double [[Testing#check_the_server.2Fservice_logs | check the server/service logs]]&lt;br /&gt;
* Is the internal IP correct?&lt;br /&gt;
&lt;br /&gt;
== Test connectivity from WAN to the remote server ==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;WAN &amp;amp;#9679; -------&amp;amp;gt; &amp;amp;#9679; LAN -------&amp;amp;gt; &amp;amp;#9679; server&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We met the trouble on WAN (wide area network). If we do no have the administrative permission, the tests we can do as follows:&lt;br /&gt;
*  [http://downforeveryoneorjustme.com/ Down for everyone or just me?] more on [[Web_Ping#同時從世界各處測試網站連線 | Web Ping]]&lt;br /&gt;
* Switch to different ISP? Is hardware firewall enabled?&lt;br /&gt;
* Is gateway alive?&lt;br /&gt;
* Is DNS alive?&lt;br /&gt;
* Is the external IP correct? &lt;br /&gt;
** If the firewall rule is IP specified, verify the IP if correct from [http://whatismyipaddress.com/ What Is My IP Address?] or web access log.&lt;br /&gt;
** Query the [http://ipinfo.io/ IP Address Details - ipinfo.io]. e.g. Input the command {{kbd | key = &amp;lt;nowiki&amp;gt;curl ipinfo.io/ip&amp;lt;/nowiki&amp;gt;}}&amp;lt;ref&amp;gt;[https://askubuntu.com/questions/95910/command-for-determining-my-public-ip#comment1318649_95910 networking - Command for determining my public IP? - Ask Ubuntu]&amp;lt;/ref&amp;gt; for {{Mac}} &amp;amp; {{Linux}}&lt;br /&gt;
* Is the port was opened for external users? [http://www.portchecktool.com/ Open Port Check Tool - Port Forwarding Port Check Tool]&lt;br /&gt;
* Is institutional/ISP firewall enabled? Contact your MIS. ([https://en.wikipedia.org/wiki/Management_information_system Management information system]) of your company or ISP?&lt;br /&gt;
&lt;br /&gt;
other issue: &lt;br /&gt;
* bandwidth cost too much by certain users&lt;br /&gt;
* exceed the request limit of (hardware) firewall&lt;br /&gt;
* the external connection of updated Windows was down until reboot {{Win}}&lt;br /&gt;
* Amazon EC2 security group&lt;br /&gt;
* refresh browser cache: [http://refreshyourcache.com/en/cache/ Refresh your cache - When hitting F5 just isn&amp;#039;t enough!]&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
&lt;br /&gt;
# {{Gd}} [http://www.nirsoft.net/utils/cports.html CurrPorts: Monitoring TCP/IP network connections on Windows]&lt;br /&gt;
# [http://portforward.com/help/portcheck.htm PFPortCheck Program]: check TCP/UDP port from localhost(where you installed the program) to portforward.com&lt;br /&gt;
# [http://technet.microsoft.com/en-us/sysinternals/bb897437 TCPView for Windows]&lt;br /&gt;
# [http://check-host.net/ Check server: Check host - online website monitoring, Check IP] &amp;quot;checks the possibility of a TCP connection to host&amp;#039;s specified port from different locations around the world.&amp;quot; quoted from website. {{access | date=2015-08-02}}&lt;br /&gt;
&lt;br /&gt;
== Related articles ==&lt;br /&gt;
* [https://errerrors.blogspot.com/2022/07/blog-post.html 怎樣排除網路連線逾時 (network connection timed out) 問題]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Template:Troubleshooting}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Programming]]&lt;br /&gt;
[[Category:Web_Dev]]&lt;br /&gt;
[[Category:MySQL]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Testing]]&lt;/div&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
</feed>