Computer Networking Basics

Which correctly pairs protocols with the standard port numbers their servers use?

  1. AHTTP 80, HTTPS 443, DNS 53
  2. BHTTP 8080, HTTPS 443, DNS 25
  3. CHTTP 80, HTTPS 22, DNS 53
Show answer and explanation

Answer: A. HTTP 80, HTTPS 443, DNS 53

A port number is a 16-bit number from 0 to 65535 that identifies which application on a host, reached by IP address, the traffic is for. Ports 0–1023 are called well-known ports and are assigned to major services. Typical ones are HTTP 80, HTTPS 443, DNS 53, SSH 22 and SMTP (mail transfer) 25. The client side uses a number chosen by the OS each time (an ephemeral port) as its source port. Services can run on non-standard numbers; 8080 is often used for web development or proxy servers, but then the connecting side has to specify the number.

  • A. Correct. HTTP is 80, HTTPS is 443 and DNS is 53.
  • B. 8080 is a commonly used non-standard number, and 25 is the mail transfer (SMTP) port.
  • C. 22 is the SSH port; HTTPS is 443.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. In TCP flow control, what is the purpose of the receiver advertising its window size (receive window) to the sender?
  2. A TCP connection has a fixed receive window of 65536 bytes and an RTT of 10 ms. The link bandwidth is ample and there is no loss. Which is closest to the upper limit on this connection's throughput?
  3. Which correctly describes the basic idea of TCP congestion control?
  4. What triggers a TCP sender to decide that a segment was lost and retransmit it?
  5. What is the main role of DNS (Domain Name System)?