Navshala by Navrohi
📖 Notes · Computer हिंदीEnglish

Protocols and Ports

⏱️ 8 min📜 19 PYQ📝 75 MCQ

1. A protocol = a set of rules; a port = a service's number

A protocol = a set of rules: what format and order data is sent in, how mistakes are caught; the “shared language” of two devices. Examples: HTTP, FTP, SMTP, TCP/IP.

A port number = a 16-bit number (0–65535) saying which service on the computer is wanted. IP address + port = a socket, e.g. 192.168.1.5:80. The IP is the house address, the port is the room number.

RangePorts
Well-known0–1023: HTTP, FTP, SMTP…
Registered1024–49151: MySQL 3306, RDP 3389
Dynamic49152–65535: a client's temporary ports
🔒 Further in this note
  • 2. TCP and UDP: two ways to deliver
  • 3. Web protocols: HTTP and HTTPS
  • 4. Moving files and working on a far-away computer
  • 5. E-mail: SMTP sends, POP3/IMAP fetch
  • 6. Helper protocols: IP, ARP, ICMP, SNMP and others
  • 7. Port numbers: the full list
  • ⚠️ Where students go wrong most

The full note, 7 try-it tools and all 75 MCQs of this chapter come with the full subject: ₹99

or ⭐ all 14 subjects + every PYQ for ₹599 a year (Full GS Pass)

How exams asked it

  • A secure method for encrypting e-mails to protect the content? S/MIME (SSC CGL 2025 Tier-II)
  • Full form of HTTP? Hyper Text Transfer Protocol · Which protocol gives e-mail among different hosts? SMTP (Allahabad HC)
  • FTP stands for? File Transfer Protocol · An HTTP request contains how many parts? 3 · A ____ is a set of rules? Protocol (Allahabad HC)

Check yourself

1. For a secure (encrypted) remote login:

Answer: C. SSH · SSH (port 22) encrypts everything; Telnet (23) sends plain text.

2. The default port of HTTPS:

Answer: B. 443 · 80 = HTTP, 25 = SMTP, 110 = POP3.

Asked in the exam (PYQ)

📜 SSC CGL 2025 (Tier-II) · 19 January 2026 · Full paper

Which of the following is a secure method for encrypting emails to protect the content from unauthorized access?

Answer: B. S/MIME · S/MIME (Secure/Multipurpose Internet Mail Extensions) uses public-key certificates to encrypt and digitally sign the email message itself, end to end. SMTP sends mail and IMAP retrieves mail; neither encrypts content. SSL/TLS only protects the connection, not the stored message.

More PYQs from this chapter

All 19 PYQs of this chapter are on the mind map and with the PYQ Pass.

Read next

← Network Devices, Models and AddressesPrevious chapter The Internet and the World Wide Web →Next chapter ComputerAll chapters
⭐ Full GS Pass: all 14 subjects + every PYQ · ₹399 for 6 months · ₹599 a yearAll 14 bought one by one cost ₹1,216. New subjects come free.See plans →