為什麼選擇80作為預設http埠,選擇443作為預設https埠?

雖然我們許多人熟悉為特定目的或用途分配的各種港口,但我們可能不知道選擇這些港口的具體原因。今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

為什麼選擇80作為預設http埠,選擇443作為預設https埠?

雖然我們許多人熟悉為特定目的或用途分配的各種港口,但我們可能不知道選擇這些港口的具體原因。今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

圖片由Rodney Lewis(Flickr)提供。

問題

超級使用者讀者Samuel Alexander想知道為什麼選擇80和443作為預設HTTP和HTTPS埠:

Why was port 80 chosen as the default HTTP port and 443 as the default HTTPS port? Is there any particular reason or was it just defined that way?

為什麼選擇80和443作為預設的HTTP和HTTPS埠?

答案

超級使用者貢獻者jcbermu為我們提供了答案:

The Internet Assigned Numbers Authority (IANA) is a department of ICANN, a non-profit private corporation that oversees global IP address allocation, the Domain Name System (DNS), well-known ports, and other Internet Protocol-related symbols and numbers.

During March of 1990, they published a document (RFC 1060) where they listed all the well-known ports at that time. In that list there was no protocol assigned to port 80 (it jumped from 79 to 81):

007Ys3FFgy1gpe4mqq1w9j30hd01ka9x

At that time, port 80 was officially free. In 1991, Tim Berners-Lee issued the first version of HTTP in a document (HTTP 0.9) where he stated:

007Ys3FFgy1gpe4mr9ps6j30hd010mx1

Then in July of 1992, RFC1060 was made obsolete by a new document (RFC 1340) where the following appeared:

007Ys3FFgy1gpe4mrs1rsj30hd02raa1

That document made 80 the official port for HTTP (www). However there is nothing about port 443 in that document. During October of 1994, RFC 1700 was published and this appeared for the first time:

007Ys3FFgy1gpe4m**3wzj30hd0250so

It seems it was solicited by Kipp E.B. Hickman, who at the time worked at Mosaic, the first GUI browser company that later went on to become Netscape. It is not clear why port 443 was chosen. However, the previous RFC document had a gap from 374 through 512, but in RFC1700 the space from 375 to 451 was filled. It is most likely that the numbers were simply given in order of request.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-10 03:59
  • 閱讀 ( 29 )
  • 分類:網際網路

你可能感興趣的文章

如何在windows上安裝mysql資料庫

...SQL資料庫是非常快速和簡單的。只需接受許可協議,然後選擇開發人員預設的安裝型別,然後單擊Next。 ...

  • 發佈於 2021-03-11 21:33
  • 閲讀 ( 51 )

如何在Windows10中設定印表機

... 在這個過程中你遇到什麼問題了嗎?在windows10中設定印表機,你有自己的技巧可以分享嗎? ...

  • 發佈於 2021-03-16 21:54
  • 閲讀 ( 52 )

什麼是hsts,它如何保護https免受駭客攻擊?

...一段時間,但直到2016年7月谷歌才正式推出。這也許就是為什麼你還沒聽說過很多。 ...

  • 發佈於 2021-03-22 16:41
  • 閲讀 ( 49 )

谷歌將https設為chrome的預設設定

現在有一半以上的網站都是加密的,是時候把HTTPS作為預設選項而不是例外了。也就是說,至少根據谷歌的說法,它正在改變Chrome處理安全網頁和非安全網頁的方式。也是時候了。 ...

  • 發佈於 2021-03-24 21:46
  • 閲讀 ( 43 )

將mac上的finder替換為以下3個應用之一

如果你對Mac的Finder應用程式不滿意,為什麼不更換它呢?但在此之前,給我最後一次機會。透過一些提示,您可能會發現您可以更有效地使用Finder。 ...

  • 發佈於 2021-03-25 20:25
  • 閲讀 ( 68 )

iOS14.5允許使用者選擇spotify作為預設的音樂播放器

...版的推出,這種情況顯然正在發生變化,使用者現在可以選擇不同的第三方音樂服務,包括Spotify,作為他們的預設音樂服務。 ...

  • 發佈於 2021-03-26 18:15
  • 閲讀 ( 40 )

如何使chrome成為預設瀏覽器

...開啟設定應用程式。 單擊應用程式,然後選擇左側的預設應用程式。 單擊“web瀏覽器”下的當前預設web瀏覽器。 從螢幕上的選單中選擇Google Chrome。 ...

  • 發佈於 2021-03-28 08:11
  • 閲讀 ( 54 )

什麼是埠轉發?你需要知道的一切

... 在這裡,我們將解釋這些埠是什麼,為什麼需要轉發,以及如何在典型路由器上設定埠轉發。 ...

  • 發佈於 2021-03-31 08:18
  • 閲讀 ( 57 )

如何在mozilla firefox中開啟https模式

...許可權。下面是如何啟用此選項。 相關:什麼是HTTPS,我為什麼要關心? 如何在firefox中啟用https-only模式首先,開啟firefox並在任何firefox視窗中單擊hamburger按鈕(三條橫線)。在彈出的選單中,選擇windows和linux上的“選項”或wind...

  • 發佈於 2021-04-01 08:27
  • 閲讀 ( 43 )

如何使用raspberry pi作為代理伺服器(使用privoxy)

...著Privoxy正在執行並使用其預設設定。預設值是經過仔細選擇的,而且在大多數情況下,它們都非常適合。 現在,我們需要告訴您網路上所有計算機上的瀏覽器使用Privoxy作為代理伺服器。 配置瀏覽器 所有瀏覽器都允許您使用代...

  • 發佈於 2021-04-01 19:49
  • 閲讀 ( 41 )
騷氣的李白灬
騷氣的李白灬

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦