How to close all ports TCP/UDP

For those not familiar, TCP (Transfer Control Protocol) and UDP (User Data Protocol) are not doors but ” protocols “. More simply, the numbers are used for the exchange of data, such as sending and receiving e-mail.

The TCP protocol is used in cases where you have to control data sent / received. The UDP serves as a channel of communication between the computer, and you are using a remote computer (online multiplayer games exploiting that protocol).

The doors are associated with the address of the PC: each application uses a specific port (determined according to protocols). The problems with a computer connected to the Internet are essentially ports with TCP and UDP listening.

These doors must remain closed, as any experienced hacker would be able to connect to the port and to access your computer. This guide explains how to protect all the ports of the PC and close those that are assigned TCP and UDP.

1.) The ports allow TCP and UDP protocols to manage the flow of data through a single connection to the network and are indicated with an integer and can be assigned to the TCP or UDP that. If you want to close the doors open on your PC, through this link http://sourceforge.net/projects/closethedoor/ you can download the program ” CloseTheDoor ” by clicking on ” Download ” colored green. Wait so the download process. When finished, open the executable file you just downloaded. If you have Windows 7 allowed the program to make changes to your computer by clicking on ” YES “. Accept the license by clicking on ” I Agree “. Proceed by clicking on ” Next ” and then ” Install “. Close, finally, the installation by clicking on ” Close “.

2.) Now let’s see how to find open ports on your PC: Open the program by clicking on the icon created on the desktop. No need to do any operation since the program just opened automatically scans all open ports on your computer and provides a final report in which you will see a list of all active processes with the doors open and used. In addition to doing this, you can access all the services associated with and obtain useful information to understand if there are flaws and / or safety hazards in our operating system.

To apply the changes you have to plug right in a row for any service. Now you can find the executable on the computer and decide to end it. This process is also possible through your computer. To do so we must know the number assigned to the port. On Windows 7 I have not tested the following procedure, but if you have Windows XP or Windows Vista, from the Start menu, type ” Command Prompt ” :

  • For example, to close the port 1221 TCP transmission type: netsh firewall delete portopening TCP 1221.
  • To close the port 5233 for UDP broadcasts, type: netsh firewall delete portopening UDP 5233.
  • If you want to open a door just type ” add ” instead of ” delete “. Before closing the door make sure that they can be dangerous and easily accessible to hackers experts …

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More