These ports are used when an application wants to make a network connection, but doesn't need to assign that connection to a specific port number. This article is not designed to be an exhaustive description of network programming, but an overview of why network port numbers need some consideration.Įphemeral ports are managed internally by the operating system, whether that be Linux, Windows or any other operating system that is capable of network communication. For the most part, these are both independent and do not interfere with each other, so it is possible for a UDP connection and a TCP connection from two different applications to share the same numeric port number without interference, although we encourage readers to avoid complicating their configurations wherever possible. This is either a specifically assigned numeric value, or a value that is assigned dynamically by the operating system, as an ephemeral port, described below.Īn odd complication exists where network connection types can be either TCP or UDP. Generally for every connection into and out of a server, a network port is needed. When you open your browser and go to you are actually opening a connection to port 80 (the phone number) within the LumenVox web server (the exchange). Think of a port number as a telephone number, and a computer/server as a telephone exchange. This is often referred to as the Reserved Port Range, since the use of any port in this range is typically reserved for some predefined purpose, and should not typically be used for a general purpose application to avoid conflicts. Generally, these long established and "well known" ports are in the numeric range between. There are many other " well known" ports used for a variety of purposes from FTP to network management, timekeeping and other purposes. There are a finite number of ports that can be assigned on a single machine.Ĭertain port numbers have special meaning, such as the HTTP port number 80, which is used when you browse to a website. Typically this involves a network port on the client and another on the server that the client is communicating with. Any application or service that communicates over a network uses some sort of "port" object as a reference to a specific network connection endpoint.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |