Overview
Port 80 carries HTTP traffic. Hypertext Transfer Protocol. When you type a URL into a browser without specifying https://, your browser opens a TCP connection to port 80 on the destination server and speaks HTTP. This is the protocol that makes the World Wide Web work.
For over two decades, nearly every web page you loaded, every link you clicked, every image that appeared in your browser traveled through port 80. Today, most of that traffic has migrated to port 443 (HTTPS), but port 80 remains the foundation the web was built on. It is assigned by IANA for both TCP and UDP, classified as a well-known system port, and still active on millions of servers worldwide, often redirecting visitors to its encrypted sibling.
Port 80 is not just a number. It is the original door to the World Wide Web.
How HTTP Works
HTTP is a request-response protocol. A client (usually a web browser) sends a request. A server sends back a response. That is the entire conversation.
An HTTP request looks like this:
The server responds:
The client says what it wants. The server gives it back. Then the connection closes (in HTTP/1.0) or stays open for reuse (in HTTP/1.1 and later). Every web page, every API call, every resource fetch follows this pattern.
The key design decision is that HTTP is stateless. The server remembers nothing between requests. Each request is self-contained, carrying everything the server needs to respond. The server does not know or care whether it just served you a page one second ago. This was a deliberate choice by Tim Berners-Lee, driven by practical constraints at CERN (which was "chronically short of manpower") and by an instinct that simplicity would scale.1 He was right. Statelessness is why a single protocol could grow from one computer in a hallway to a system serving billions of people.
HTTP defines a small set of methods that express intent: GET (retrieve a resource), POST (submit data), PUT (replace a resource), DELETE (remove a resource), and a handful of others. It defines status codes that express outcomes: 200 OK, 301 Moved Permanently, 404 Not Found, 500 Internal Server Error. These codes are so embedded in culture that "404" has become a metaphor for anything missing.
Headers carry metadata: what content type the server is sending, how long to cache it, what language the client prefers, whether the request is authenticated. Headers are what turned HTTP from a document retrieval protocol into a general-purpose communication layer.
This architecture, simple enough to explain in a paragraph, carries the entire World Wide Web.
The History of Port 80
The Proposal (1989)
In March 1989, Tim Berners-Lee, a British software engineer working at CERN (the European Organization for Nuclear Research in Geneva), submitted a document titled "Information Management: A Proposal."2 The problem was real and mundane: CERN had thousands of researchers cycling through the laboratory, each using different computers, different operating systems, different data formats. Information was everywhere and connected to nothing. Berners-Lee proposed a system of hypertext documents linked together over the network, accessible from any machine.
His supervisor, Mike Sendall, read the proposal and wrote on the cover page: "Vague but exciting."3
That annotation became the green light.
The First Web Server (1990)
By the end of 1990, Berners-Lee had built three things: the first web browser (called WorldWideWeb), the first web server, and the first web page. All of it ran on a NeXT workstation in his office at CERN. He had defined the basic URL syntax, created HTML as the document format, and written the HTTP protocol that connected them.
The NeXT computer bore a handwritten label in red ink: "This machine is a server. DO NOT POWER IT DOWN!!"4
For a period of time, turning off that one machine would have meant turning off the entire World Wide Web.
The first website, http://info.cern.ch, was a page about the World Wide Web project itself, with links explaining what hypertext was and how to set up your own server. The web's first content was documentation about itself. It was, from the very beginning, a system that wanted to teach you how to participate.
The Protocol Goes Public (1991)
On August 6, 1991, Berners-Lee posted a public invitation to collaborate on the WorldWideWeb project to the alt.hypertext Usenet newsgroup.5 HTTP 0.9, the first version of the protocol, was startlingly simple. A request was a single line:
That was it. No headers. No status codes. No content types. The server received the request, sent back an HTML document, and closed the connection. It was later called "the one-line protocol."5
Port 80 was not yet formally assigned. Berners-Lee chose it because it was available: RFC 1060, published in 1990, listed all well-known ports at the time, and port 80 was unclaimed.6
The Port Gets Its Name (1992)
In July 1992, RFC 1340 ("Assigned Numbers") formally registered port 80 for both TCP and UDP as the "World Wide Web HTTP" service.6 The assignment was attributed to Tim Berners-Lee. From that point forward, port 80 belonged to HTTP. Every web browser in the world would default to it.
CERN Sets It Free (1993)
On April 30, 1993, CERN released the World Wide Web software into the public domain, royalty-free.7 This was not inevitable. The University of Minnesota had recently announced licensing fees for its Gopher protocol server, and users were fleeing. CERN went the opposite direction: anyone could use the web, build on it, and extend it without paying a cent.
Tim Berners-Lee later said: "CERN's decision to make the Web foundations and protocols available on a royalty-free basis, and without additional impediments, was crucial to the Web's existence."7
By late 1993, there were over 500 known web servers. The web accounted for 1% of Internet traffic.7
Mosaic Changes Everything (1993)
In January 1993, Marc Andreessen, a 21-year-old student at the University of Illinois, and his colleague Eric Bina released the first version of NCSA Mosaic.8 Unlike previous web browsers, Mosaic displayed images inline with text, ran on Windows and Mac, and was easy to install.
Andreessen maintained a near-constant presence on web newsgroups, listening for features people wanted and coding them into new releases. Mosaic was downloaded over a million times in its first year. By December 1993, it was on the cover of the New York Times business section.8
There were 50 known web servers in January 1993. By October, there were over 500. By June 1994, there were 1,500.8 Every single one of them listened on port 80.
HTTP Grows Up (1996-1999)
The original protocol was too simple for what the web was becoming. In 1996, Tim Berners-Lee, Roy Fielding, and Henrik Frystyk Nielsen published RFC 1945, documenting HTTP/1.0.9 It added headers, status codes, content types, and support for methods beyond GET. The web could now send forms, negotiate content formats, and report errors.
But HTTP/1.0 had a performance problem: it opened a new TCP connection for every single request. Loading a page with 20 images meant 20 separate connections. In January 1997, RFC 2068 defined HTTP/1.1, which introduced persistent connections (reuse the same TCP connection for multiple requests), chunked transfer encoding, and the Host header that enabled virtual hosting, allowing multiple websites to share a single IP address.10
RFC 2616, published in June 1999, refined HTTP/1.1 further.10 That specification proved so stable it remained the definitive HTTP reference for over 15 years.
REST and the API Revolution (2000)
In 2000, Roy Fielding, one of the principal authors of the HTTP specification, completed his doctoral dissertation at UC Irvine: "Architectural Styles and the Design of Network-based Software Architectures."11 In it, he described REST (Representational State Transfer), an architectural style derived from analyzing how the web actually worked.
REST was not a new protocol. It was a recognition that HTTP already contained everything needed to build distributed systems. Fielding's insight turned HTTP from a document retrieval protocol into the backbone of modern APIs. Today, when your phone checks the weather, when a payment processes, when an app loads your feed, it is almost certainly speaking HTTP to a REST API. Port 80, and later port 443, carry those conversations.
The Modern Era (2015-2022)
HTTP/2, published as RFC 7540 in 2015, introduced binary framing and multiplexing, allowing a single connection to carry multiple streams of data simultaneously.12 HTTP/3, published as RFC 9114 in 2022, made the radical move of replacing TCP with QUIC over UDP, eliminating head-of-line blocking entirely.12
In June 2022, the entire HTTP specification was reorganized into a clean series: RFC 9110 (semantics), RFC 9111 (caching), RFC 9112 (HTTP/1.1), RFC 9113 (HTTP/2), and RFC 9114 (HTTP/3). For the first time, HTTP achieved the status of full Internet Standard (STD 97), 31 years after the one-line protocol first ran on a NeXT computer in Geneva.12
Security
Port 80 carries plaintext. Every byte that passes through it is readable by anyone on the network path between client and server. Passwords, session cookies, personal data, credit card numbers: anything sent over HTTP on port 80 travels in the clear.
This was acceptable in 1991, when the web was a tool for physicists sharing research papers. It became a crisis as the web became the world's commerce, communication, and identity platform.
The specific vulnerabilities of unencrypted HTTP include:
- Eavesdropping: Any device on the network path can read the full content of requests and responses.
- Man-in-the-middle attacks: An attacker can intercept and modify traffic between client and server without either party knowing.
- Session hijacking: HTTP cookies, sent in plaintext, can be captured and replayed to impersonate a user.
- Content injection: Intermediaries (ISPs, Wi-Fi hotspot operators, compromised routers) can insert content, from ads to malware, into HTTP responses.
The answer was HTTPS: HTTP wrapped in TLS encryption, served on port 443. For years, HTTPS adoption was slow because SSL certificates were expensive (averaging $178 per year from major certificate authorities) and complex to configure.13
Then, in 2015, Let's Encrypt launched. A nonprofit certificate authority backed by Mozilla, the EFF, and others, it issued free, automated TLS certificates to anyone who wanted one.13 By 2020, it had issued its billionth certificate. The barrier was gone.
Today, approximately 95-96% of web traffic travels over HTTPS on port 443.14 Port 80 still exists on most web servers, but its primary job has changed. It listens, receives the request, and immediately redirects to port 443. It has become a doorman pointing visitors to the secure entrance.
The shift is so complete that modern browsers now display warnings when users visit HTTP sites, treating unencrypted connections as the exception rather than the norm.
Related Ports
| Port | Protocol | Relationship |
|---|---|---|
| 443 | HTTPS | HTTP encrypted with TLS. The secure successor that now carries 95%+ of web traffic. |
| 8080 | HTTP Alternate | The most common alternative HTTP port, widely used for development servers, proxies, and web caches. Exists because port 80 requires root privileges on Unix systems. |
| 8443 | HTTPS Alternate | The secure counterpart to 8080, used for development and testing of HTTPS services. |
| 8000 | HTTP Alternate | Another common development port, popular with Python, Django, and other web frameworks. |
| 3128 | Squid Proxy | Default port for the Squid HTTP proxy cache. |
| 21 | FTP | The file transfer protocol that preceded HTTP for moving files across the Internet. |
| 70 | Gopher | The hypertext system that competed with the web in the early 1990s. CERN's decision to make HTTP free while Gopher charged licensing fees decided the winner. |
What Is Port 80 Used For Today?
Port 80 still serves three purposes:
-
HTTP-to-HTTPS Redirects: The most common use. Servers listen on port 80 to catch requests from users who type a URL without
https://and redirect them to port 443. -
Internal Networks: Development environments, IoT devices, internal tools, and local services often run on port 80 where encryption is not required.
-
Legacy Systems: Some older applications and embedded devices still serve content over unencrypted HTTP.
The web has not abandoned port 80. It has promoted it from carrying the traffic to directing the traffic. Port 80 is now the usher, not the stage.
Frequently Asked Questions
Was this page helpful?