Skip to main content

Networking Introduction

OSI Layer

OSI

TCP

TCP is a connection-oriented protocol. This means that it first establishes a link between the source and destination before it sends data. CP is a preferred protocol when data integrity is critical, such as in any transactional system. Eg: email and file transfer

UDP

UDP in turn is not connection-oriented. UDP starts transmitting data immediately, without waiting for connection confirmation from the receiving side. Even though some data loss can happen, UDP is most often used in cases where speed is more important than perfect transmissions, such as in voice or video streaming.

Ports

A virtual point where network connections start and end. So that multiple applications can communicate easily.

Tcp port

Port NumberProcessUses
80HTTP
443HTTPs
3306MySQl

To check which ports the system are using

netstat -a -b

URL (Uniform Resource Locator)

A unique identifier is used to locate a resource on the Internet. Lilke HTML, JS files.

URL Breakdown

  • Generally, the URL doesn't contains a port number in the string because it is by default. For eg, google.com or google.com:443

IP Address

IP Address

IP Address classes

IP Address classes

What's next?