Master the CompTIA Network+ Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your certification!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What type of ports are classified as non-ephemeral ports?

  1. Ports 1024-65535

  2. Ports 0-1023

  3. Dynamic ports assigned by the operating system

  4. Ports used only for secure communication

The correct answer is: Ports 0-1023

Non-ephemeral ports are typically associated with well-known services and protocols that are standardized and widely recognized. These ports range from 0 to 1023 and are designated for specific applications, such as HTTP (port 80), HTTPS (port 443), FTP (port 21), and many others. When an application or service is continuously running and requires a consistent means of communication, it will use one of these well-known ports, allowing other devices to easily connect to it. In contrast, ephemeral ports, which are typically used for temporary connections, are usually in the range of 1024 to 65535. This range can also include dynamic ports that the operating system assigns for outbound connections as needed, distinguishing them from the non-ephemeral ports that are fixed and commonly associated with specific functions. Ultimately, non-ephemeral ports serve a crucial role in reliably facilitating network communications with stable and known endpoints.