A few years back, Zach Bloom wrote The History of the URL: Path, Fragment, Query, and Auth. He recently expanded on it and republished it on the Cloudflare blog as The History of the URL. It’s well worth the time to read the whole thing. It’s packed full of fascinating tidbits.
In the section on ports, Zach says:
The timeline of Gopher and HTTP can be evidenced by their default port numbers. Gopher is 70, HTTP 80. The HTTP port was assigned (likely by Jon Postel at the IANA) at the request of Tim Berners-Lee sometime between 1990 and 1992.
Ooh, I can give you an exact date! It was January 24th, 1992. I know this because of the hack week in CERN last year to recreate the first ever web browser.
Kimberly was spelunking down the original source code, when she came across this line in the
#define TCP_PORT 80 /* Allocated to http by Jon Postel/ISI 24-Jan-92 */
We showed this to Jean-François Groff, who worked on the original web technologies like
libwww, the forerunner to
libcurl. He remembers that day. It felt like they had “made it”, receiving the official blessing of Jon Postel (in the same RFC, incidentally, that gave port 70 to Gopher).
Then he told us something interesting about the next line of code:
#define OLD_TCP_PORT 2784 /* Try the old one if no answer on 80 */
Port 2784? That seems like an odd choice. Most of us would choose something easy to remember.
Well, it turns out that 2784 is easy to remember if you’re Tim Berners-Lee.
Those were the last four digits of his parents’ phone number.
# Shared by Michael Wells on Wednesday, March 11th, 2020 at 4:27pm
# Shared by Daniel J. Hansen 🌊🌊🌊🌊 on Wednesday, March 11th, 2020 at 4:28pm
# Shared by Lee Griffin on Wednesday, March 11th, 2020 at 4:28pm
# Shared by ☯Evil Jim O'Donnell on Wednesday, March 11th, 2020 at 4:32pm
# Shared by ʦ on Wednesday, March 11th, 2020 at 4:39pm
# Shared by ch12i5 on Wednesday, March 11th, 2020 at 10:10pm
# Shared by Steve Lee on Thursday, March 12th, 2020 at 11:56am
# Shared by Jim Nielsen on Tuesday, January 24th, 2023 at 2:43pm
# Shared by Kristof Zerbe on Tuesday, January 24th, 2023 at 4:45pm
# Shared by Arunan on Wednesday, January 25th, 2023 at 1:25pm