How to detect open ports?

Table of contents:

How to detect open ports?
How to detect open ports?
Anonim

Now we will deal with the question of what open ports are. This issue should be de alt with if Internet traffic begins to "suddenly go" into the unknown. First of all, you should see where, which program and what it uses. Based on such information, the situation can be corrected.

Network Applications

open ports
open ports

There is a situation when an application that uses the network to run does not want to work. If this is the case, it is worth checking if the ports that the program uses for its own work are open. Situations when you need to find out the list of open ports occur quite often.

To view the list, you must use either third-party port scanners or the standard utility for Windows and Linux operating systems: netstat. It starts from the usual command line. First, we call the command line. This can be achieved in two ways. As for the first option, go to the Start menu and select Run.

In the window that appears, type "cmd", then press "Enter". Anotherthe method is to launch the necessary command line "with your own hands", that is, by going to the "System32" folder, use the "cmd.exe" program.

Netstat

To find out which ports are open, the next step is to run the "netstat" utility. To this end, in the command line that you launched earlier, type "netstat", then press "Enter".

Those users for whom this information is not enough can access the capabilities of this utility by running it with the special key -h, in other words, try typing "netstat -h" into the command line. If you use the "netstat -b" key, the utility will show open ports, as well as applications that use these ports for their own work.

There is another useful "netstat 5" key. If you use it, you will see not only open ports, but also the possibility of streaming information updates, new data will be displayed every 5 seconds. To stop the appearance of information with the specified key, you must use the key combination "Ctrl + C".

Studying the information received

are the ports open
are the ports open

The command line window will show open ports. It will look like this: the command line itself will be divided into 4 parts. The left column will display the protocol name, the second - the domain, and after the colon the open port itself, the third part - the external address, the fourth - the status.

Opening ports in Windows

what ports are open
what ports are open

Next, we will look at how to openWindows port. Users can perform the operation of opening ports on Windows 7 and Vista by using the standard tools of the operating system itself without involving special software from third-party developers.

Press the "Start" button to bring up the main menu of the system, go to the "Control Panel" item in order to initiate the procedure for opening ports in the Windows firewall.

Indicate the "Security" item, go to the "Windows Firewall" section. We select the item called "Advanced Options", which contains the left side of the application window. After that, enter the administrator password. It must be entered in the appropriate field after the authorization window appears.

Open the link that says about allowing the program to run through Windows Firewall and select the section on incoming connection rules. Specify the item called "Create a rule", launch the "Add port" function to perform the operation of opening the specified port. Press the "Next" button, enter a name that allows you to associate the specified open port.

For this, the corresponding field "Name" is provided. Enter the number of the selected port in the corresponding "Port" field, click the "Next" button. We indicate the desired protocol (it can be TCP or UDP) in the next dialog box, which is dedicated to ports and protocols. Apply the checkbox for the "Allow connection" item by going to the next "Actions" window.

Final stage

how to open windows port
how to open windows port

Apply flags to allfields in the next dialog box called "Profile", click the "Finish" button to apply the selected changes. Click the button called "Change Scope" to select the option for the number of computers that have permission to use the selected port. Specify the desired value.

Repeat the above procedures for each of the ports to be opened. Restart your computer to apply the selected changes. It should be remembered that the described algorithm of actions will allow you to open ports only in the firewall of a personal computer, however, it is not connected in any way with the permissions of a specific Internet connection provider.

To solve such problems, you need to contact your provider company representative directly. When connecting to the Internet, the system allocates to programs working with the network ports through which data is received and sent. Ports can be not only open, but also closed.

Recommended: