TCP/IP:
- TCP/IP Stands for Transfer Control Protocol / Internet Protocol.
- TCP/IP is a set of protocols used of for the communication.
- Entire TCP/IP consists of set of rules and procedures.
- TCP/IP specifies how data is providing end to end communications.
TCP/IP Layers:
Application Layer:
- It provides applications with standardized data exchange.
- Its protocols include the
- Hypertext Transfer Protocol (HTTP)
- File Transfer Protocol (FTP)
- Post Office Protocol 3 (POP3)
- Simple Mail Transfer Protocol (SMTP)
- Simple Network Management Protocol (SNMP)
Transport Layer :
- Maintains end-to-end communications across the network.
- TCP handles communications between hosts.
- The transport protocols include TCP and User Datagram Protocol (UDP).
Network Layer:
- It is also called the internet layer.
- Deals with packets and transport the packets across network boundaries.
- The network layer protocols are the IP and the Internet Control Message Protocol (ICMP)
- ICMP is used for the error handling.
- IP is used to check the destination of the packet to be send.
Physical Layer:
- The network component that interconnects nodes or hosts in the network.
- The protocols in this layer include Local Area Networks (LANs) and Address Resolution Protocol (ARP).
What is Port?
- It is numeric number used for identity of the specific application.
- Port is used in between the Application Layer and Transport Layer.
- Port number is useful in specify the which application your calling in particular IP Address Machine.
- Range of port numbers is 0 to 65532.
- Reserved ports are 0 to 1024.
TCP/IP Port:
- TCP/IP contains the different protocol applications.
- In order to use specific application we call it by the port number.
- Each specific application as default port number.
- Every time you call any application it takes the port number in the background.
| Port | Service name |
|---|---|
| 20, 21 | File Transfer Protocol (FTP) |
| 22 | Secure Shell (SSH) |
| 23 | Telnet |
| 25 | Simple Mail Transfer Protocol (SMTP) |
| 50, 51 | IP |
| 53 | Domain Name Server (DNS) |
| 80 | Hyper Text Transfer Protocol (HTTP) |
| 110 | Post Office Protocol (POP3) |
| 119 | Network News Transport Protocol (NNTP) |
| 135-139 | Net BIOS |
| 143 | Internet Message Access Protocol (IMAP4) |
| 161, 162 | Simple Network Management Protocol (SNMP) |
| 389 | Lightweight Directory Access Protocol |
| 443 | HTTP with Secure Sockets Layer (SSL) |
