Are Different Ports Reserved for Different Protocols in Web Servers?

  • Thread starter Thread starter Chromium
  • Start date Start date
  • Tags Tags
    Web
Click For Summary

Discussion Overview

The discussion revolves around the use of different ports for various network protocols in web servers, specifically focusing on HTTP and its associated configurations. Participants explore the conventions surrounding port assignments and the implications for server communication.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • Some participants suggest that different ports are reserved for different protocols, with HTTP typically using port 80, but note that this is mostly by convention and not all ports are reserved.
  • One participant emphasizes that network protocols describe how computers communicate, but technically they are specifications for data handling.
  • Another participant points out that the Apache server's configuration file allows for specifying different ports, indicating that not all servers use port 80 and that special-purpose servers may operate on alternative ports.
  • A participant mentions HTTPS as the secure version of HTTP, which operates on port 443.
  • Links to historical documents and resources related to web infrastructure are requested and shared.

Areas of Agreement / Disagreement

Participants express varying views on the reservation of ports for protocols, with some agreeing on the conventions while others highlight exceptions and the flexibility in server configurations. The discussion remains unresolved regarding the implications of these conventions and the specifics of port usage.

Contextual Notes

There are limitations in the discussion regarding the assumptions about port assignments and their implications for security, as well as the technical details of how protocols are defined and implemented.

Who May Find This Useful

This discussion may be useful for individuals learning about web servers, network protocols, and the technical aspects of server configuration.

Chromium
Messages
56
Reaction score
0
hey everyone,

i'm starting to learn how to use Apache, and so I've been reading up on web servers in general. I just have a few questions:

1) Different ports are reserved for different protocols, right? For example, HTTP is always done on port 80?

2) Network protocols (e.g. FTP, HTTP, etc.) just describe how two or more computers "communicate", right?

If anyone has any interesting and/or cool articles on web infrastructure in general, could you post the links here?

thanks,

--Jonathan
 
Computer science news on Phys.org
Chromium said:
Different ports are reserved for different protocols, right? For example, HTTP is always done on port 80?
Kind of, some mostly by convention. list, and not all ports are reserved. Port assignments and the lack thereof have all sorts of computer security implications.

Network protocols (e.g. FTP, HTTP, etc.) just describe how two or more computers "communicate", right?
Basically, but from a technical standpoint they're specifications for how data is packed,unpacked, sent, and received.


If anyone has any interesting and/or cool articles on web infrastructure in general, could you post the links here?
Some of the original DARPA documents concerning ARAPNET are pretty cool from a historical standpoint. Start at wiki.
 
Chromium said:
HTTP is always done on port 80?

No. Apache's httpd.conf file contains a directive that specifies which port that server runs on. Special-purpose servers often run on a different port from 80, one that doesn't conflict with anything else that server runs, of course. For example, administrative access to the mail server where I work is via a Web interface on port 8080 or 8100 or something like that.
 
There is also HTTPS which is the secure version of HTTP. It runs on port 443.

Here is an interesting walk-through:
http://www.isecom.org/hackerhigh school.org/lessons/HHS_en3_Ports_and_Protocols.pdf
 
Last edited by a moderator:

Similar threads

Replies
19
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K