Introduction to Layer 7 Protocols
Protocol | Pattern | Transport | Default Port | Common Use Case |
---|---|---|---|---|
HTTP | Request/Response | TCP | 80/443 | Web, APIs |
WebSocket | Full-duplex | TCP | 80/443 | Real-time apps |
SMTP | Push | TCP | 25/587 | Sending email |
IMAP | Pull | TCP | 143/993 | Reading email |
POP3 | Pull (delete local) | TCP | 110/995 | Reading email |
SSH | Remote shell | TCP | 22 | Secure remote access |
FTP | File Transfer | TCP | 21 | File uploads/downloads |
DNS | Lookup | UDP/TCP | 53 | Domain resolution |
SNMP | Monitoring | UDP | 161 | Network management |
Telnet | Remote shell | TCP | 23 | Legacy access |
gRPC | RPC | HTTP/2 | 50051 | Microservices, APIs |
MQTT | Pub/Sub | TCP | 1883/8883 | IoT messaging |
AMQP | P2P + Pub/Sub | TCP | 5672/5671 | Enterprise messaging |
XMPP | Messaging + Pub/Sub | TCP | 5222 | Chat systems |
CoAP | REST + Pub/Sub | UDP | 5683 | Lightweight IoT |