News

What is a Port Used in Computer Networks, What Does It Do?

The word port, which computer users have heard in different areas, including daily use, can be defined as the leading actor of a large traffic. Port is a bridge for computer networks. The port, which has two protocols, TCP and UDP, is a core member of the data exchange between computers.

The port, which is heard a lot by the users who go beyond the computer and internet usage and try to solve their problems by themselves, is just one of hundreds of technical computer terms. The most common part of this word, which is used in many different fields in the technical sense, is computer networks.

The port is divided into physical and virtual. In addition to knowing what the word port means, it is necessary to be aware of what it does and what types it is divided into. In this article , we will see what a port is and what it is not and we will talk about the importance of the port in computer networks.

What is the port?

TCP/UDP Port

All computers have IP addresses so that they can communicate with each other. IP addresses are divided into ports to form a virtual bus. Port, which literally means “port”, is known as “bridge” in computer networks. Port is an important member of data exchange between computers. 

The port, which exchanges data over numbers, is divided into values ​​starting from 0 up to 65535 in order to perform many operations at the same time. In this context, the port is divided into 2 types , TCP and UDP .

What is TCP?

TCP

TCP (Transmission Control Protocol) is a protocol developed by the US Department of Defense. TCP, which is involved in the smooth realization of basic communication between computers, can provide data integrity in data exchange as well as authentication. The reason for creating TCP is to prevent losses in communication between computers. Today, data exchange of protocols such as HTTP, HTTPS, POP3, SSH, SMTP, TELNET and FTP is TCP.

What is UDP?

UDP

UDP (User Datagram Protocol) can essentially be described as an alternative to TCP. UDP, a faster protocol than TCP, is used for audio and video transmission. The reason it is faster than TCP is because TCP is responsible for data integrity and authentication.

UDP, unlike TCP, is not responsible for data integrity and security. This means that UDP is less reliable than TCP. While TCP sends data packets sequentially, UDP’s method of sending packets is by streaming.

What does the port do?

Port entry

The port, whose main function is to exchange data, has a number system. Each computer has an IP address and each IP address is divided into ports. This helps each IP address to exchange data for multiple purposes at the same time . 

Every program on the computer uses a certain number of ports. This enables users to check their e-mails while visiting a website at the same time. This is precisely the reason why the concept of port is defined as “bridge” rather than “port” in a dictionary sense .

What is the relationship between port and IP?

Network Port

The entire process of data exchange mentioned above, both virtual and physical, takes place through ports. Examples of physical ports are all physical hardware inputs on the computer. Port relation to IP is like the relation of A point and B point to the route. Port is a gateway between IPs. You can use this link to find out your IP address.

What is Port Forwarding?

Port forwarding

Port Forwarding is to stop or divert data on the IP of a computer or device. Port Forwarding is also a secure way to protect the IP address. There are some types of this redirect that can be used for different purposes.

What are the types of Port Forwarding?

  • Local Port Forwarding
  • Remote Port Forwarding
  • Dynamic Port Forwarding
Port Forward

Local Port Forwarding:

Local Port Forwarding, which has the most common range of uses, is the safest forwarding method for users. Local Port Forwarding can also be defined as a secure tunnel. Using this tunnel, users can bypass firewalls that block certain internet pages.

Remote Port Forwarding:

This type of routing, which allows everyone on a remote server to connect to a single TCP protocol, is great for providing a remote connection to a WEB server. 

Dynamic Port Forwarding:

Unlike the local routing method, Dynamic Port Forwarding, the least preferred routing type, is another way to bypass the firewall barrier. This routing, working with an agent tag, is used to secure users on a public network.

İlgili Makaleler

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir