How to open the port on a Windows 7 computer

Anonim

Port in Windows 7

For the correct functioning of some software products, you need to open certain ports. Installation, how can this be done for Windows 7.

Port is not open in the UTorrent program

Lesson: Ports required for incoming SKYPE connections

Method 3: "Windows Firewall"

This method provides for the execution of manipulations through the "Window Firewall", that is, without the use of third-party applications, but only with the help of the resources of the operating system itself. The specified option will suit both users using a static IP address and applying dynamic IP.

  1. To go to the Windows Firewall launch, click "Start", then click on the Control Panel.
  2. Go to the control panel through the Start menu in Windows 7

  3. Next click "System and Security".
  4. Go to System and Security in the Control Panel in Windows 7

  5. After that, click "Windows Firewall".

    Switching to Windows Firewall Window in the System and Security section in the Control Panel in Windows 7

    There is a faster option to go to the desired section, but requiring memorizing a specific command. It is carried out by the "Run" tool. Call it by pressing Win + R. Enter:

    firewall.cpl

    Click OK.

  6. Go to Windows Firewall Window Using the Command Entering In Windows 7

  7. With any of these actions, the "Firewall" configuration window is launched. Click "Advanced Parameters" in the side menu.
  8. Go to the additional parameter window in the Firewall Settings window in Windows 7

  9. Now move through the side menu to the "Rules for Inbound Rules" section.
  10. Go to the Rules section for incoming connections in the Firewall Firewall Settings window in Windows 7

  11. The Incoming Connection Rules Management Tool opens. To open a specific socket, we have to form a new rule. In the side menu, press "Create Rule ...".
  12. Transition to the creation of the rule in the Rules section for incoming connections in the Firewall settings window in Windows 7

  13. The rules forming tool is launched. First of all, you need to choose its type. In the "Rule of which type you want to create?" Install the radio button to the "For Port" position and click "Next".
  14. Selecting the type of rule in the creation window for the incoming connection in Windows 7

  15. Then in the "Specify the Protocol" block, leave the radio button in the TCP protocol position. In the "Specify ports" block, we put the radio button to the "Defined Local Ports" position. In the field to the right of this parameter, enter the number of a specific port that is going to activate. Click "Next".
  16. Selecting the Protocol and Specifying the Port in the Creation window for the incoming connection in Windows 7

  17. Now you need to specify the action. Set the switch to the "Allow Connection" item. Press "Next".
  18. Selecting an action in the creation window for the incoming connection in Windows 7

  19. Then you should specify the profile type:
    • Private;
    • Domain;
    • Public.

    Around each of the specified items must be installed a check mark. Press "Next".

  20. Installing profiles in the creation window for the incoming connection in Windows 7

  21. In the next window in the "Name" field, you need to specify an arbitrary name of the rule being created. In the "Description" field, you can immediately leave a comment on the rule, but it is not necessary to do this. After that, you can click "Finish."
  22. The name of the rule in the Creation window for the incoming connection in Windows 7

  23. So, the rule for the TCP protocol is created. But to ensure the guarantee of the correct work, you need to create a similar entry for the UDP to the same society. To do this, click "Create Rule ...".
  24. Go to creating a second rule in the Rules section for incoming connections in the Firewall settings window in Windows 7

  25. In the window that opens, set the radio button to the "For Port" position. Press "Next".
  26. Selecting a rule type in the second rule creation window for an incoming connection in Windows 7

  27. Now set the radio button to the UDP protocol position. Below, leaving the radio button in the "Certain Local Ports" position, exhibit the same number as in the situation described above. Click "Next".
  28. Select the protocol and specifying the port in the Second Rule Creation window for the incoming connection in Windows 7

  29. In a new window, we leave an existing configuration, that is, the switch must stand in the "Allow connection" position. Click "Next".
  30. Selecting an action in the Second Rule Creation window for the incoming connection in Windows 7

  31. In the next window, again, make sure that the checkboxes are installed near each profile, and press "Next".
  32. Installing profiles in the second rule creation window for an incoming connection in Windows 7

  33. At the final step in the "Name" field, enter the name of the rule. It should be different from that name that was assigned to the previous rule. Now you should harm "ready."
  34. The name of the rule in the second rule creation window for the incoming connection in Windows 7

  35. We formed two rules that will ensure the activation of the selected socket.

Two rules are created in the Rules section for incoming connections in the advanced firewall settings window in Windows 7

Method 4: "Command String"

You can perform the task using the "Command Line". Its activation must be carried out necessarily with administrative rights.

  1. Click "Start". Move all programs.
  2. Go to all programs through the Start menu in Windows 7

  3. Find the "Standard" directory in the list and log in to it.
  4. Go to standard programs through the Start menu in Windows 7

  5. In the list of programs, find the name "Command Line". Click on it with the mouse using the button on the right. In the list, stop at the "Startup on behalf of the administrator".
  6. Run a command line on behalf of the administrator via the Start menu in Windows 7

  7. The "CMD" window opens. To activate the TCP socket, you need to enter a template expression:

    Netsh Advfirewall Firewall Add Rule Name = L2TP_TCP Protocol = TCP LocalPort = **** Action = ALLOW DIR = IN

    "****" characters are required to replace the specific number.

  8. Team to open the port on the TCP protocol on the command prompt in Windows 7

  9. After entering the expression, press ENTER. The specified socket is activated.
  10. The TCP port is open in the command prompt in Windows 7

  11. Now we will activate the UPD. The expression template is:

    Netsh Advfirewall Firewall Add Rule Name = "Open Port ****" Dir = In Action = Allow Protocol = UDP LocalPort = ****

    Replace stars numbering. VBE expression in the console window and click ENTER.

  12. The command for opening the port on the UPD protocol on the command line in Windows 7

  13. UPD activation is performed.

The UDP port is open at the command prompt in Windows 7

Lesson: Activation of the "Command Line" in Windows 7

Method 5: Port Forwarding

Finished this lesson description of the method using an application that is specifically designed to perform this task - Simple Port Forwarding. The application of this program is the only option from all described, performing which you can open the socket not only in the OS, but also in the router parameters, and in the window of its settings you do not even have to go. Thus, this method is universal for most models of routers.

Download Simple Port Forwarding

  1. After running Simple Port Forwarding, first of all, for greater convenience in this program, you need to change the interface language from English, which is set by default, to Russian. To do this, click on the field in the lower left corner of the window, in which the specified name of the current program language. In our case, it is "English I English".
  2. Transition to the selection of language in Simple Port Forwading

  3. A large list of different languages ​​opens. Choose "Russian i Russian" in it.
  4. Choosing Russian Language in Simple Port Forwading

  5. After that, the application interface will be Russified.
  6. Application Interface Russified in Simple Port Forwading

  7. In the "Router IP Address" field, your router's IP should automatically be displayed.

    Router IP address in Simple Port Forwading

    If this did not happen, it will have to be drove it manually. In the overwhelming majority of cases it will be the following address:

    192.168.1.1

    But it is still better to make sure of his correctness through the "Command Line". This time it is not necessary to launch this tool with administrative rights, and therefore we will run it in a faster way than us previously was considered. Type Win + R. In the "Run" field that opens:

    cmd.

    Press "OK".

    Go to the command line by entering the command to run in Windows 7

    In the "Command Line" window, enter the expression:

    Ipconfig

    Press ENTER.

    Introduction Commands on the command prompt to view the IP address in Windows 7

    After that, the main connection information will be displayed. We need a value opposite the "Main Gateway" parameter. It is it that you should enter in the "Router IP Address" field in the Simple Port Forwarding application window. The "Command Line" window is not yet closed, since the data displayed in it can be useful in the future.

  8. Address of the main connection gateway on the command prompt in Windows 7

  9. Now you need to find a router through the program interface. Press "Search".
  10. Running a router search in Simple Port Forwading

  11. There is a list with the name of various models of more than 3000 routers. It needs to find the name of the model to which your computer is connected.

    List of routers in Simple Port Forwading

    If you do not know the name of the model, then in most cases it can be seen on the router housing. You can also find out its name through the browser interface. To do this, enter any web browser to the address bar, which we previously defined through the "Command Line" in the address bar. It is located near the "Main Gateway" parameter. After it is entered into the browser's address bar, press ENTER. The router settings window opens. Depending on its brand, the name of the model can be found either in the window that opens, or in the title tab.

    Name of the model of the router in the Opera browser

    After that, find the name of the router in the list that is presented in Simple Port Forwarding, and click on it twice.

  12. Selecting the name of the router model in the list of routers in the Simple Port Forwading program

  13. Then in the Login and Password Program fields will be displayed standard account data for a specific router model. If you have previously changed them manually, you should enter the currently current usernas and password.
  14. Login and password from the router in Simple Port Forwading

  15. Next click on the "Add Entry" button ("Add Record") as the "+" sign.
  16. Transition to adding an entry in Simple Port Forwading

  17. In the new socket window that opens, click the "Add Specific" button.
  18. TRANSPORT SUPPLY Add special in the port opening window in Simple Port Forwading

  19. Next, the window is started in which you want to specify the parameters of the opened socket. In the "Name" field, write any arbitrary name, in length not exceeding 10 characters by which you will identify this entry. In the "Type" area, we leave the parameter "TCP / UDP". Thus, we do not have to create a separate entry for each protocol. In the "Starting Port" and "End Port" area, we take the number of the port that you are going to open. You can even drive a whole range. In this case, all sockets of the specified number interval will be opened. In the "IP address" field, the data must be tightened automatically. Therefore, do not change the existing value.

    Settings of the new port in Simple Port Forwading

    But just in case it can be checked. It must fit the value that is displayed near the "IPv4 address" parameter in the "Command Line" window.

    IP address on the command line in Windows 7

    After all the specified settings are made, press the "Add" button in the Simple Port Forwarding program interface.

  20. Add an entry to open a new port in Simple Port Forwading

  21. Then, to return to the main program window, close the port add window.
  22. Easy window adding port in Simple Port Forwading

  23. As we can see the record created by us appeared in the program window. We highlight it and click "Run."
  24. Running the port opening procedure in Simple Port Forwading

  25. After that, the procedure for opening a socket will be completed, after which the inscription "Appended" appears at the end of the report.
  26. PORT OPENING PROCEDURE IN THE PROGRAM OF SIMPLE PORT FORWADING

  27. So, the task is completed. Now you can safely close Simple Port Forwarding and "Command Line."

As you can see, there are many ways to open the port in both the built-in Windows tools and through third-party programs. But most of them will open only the socket in the operating system, and its opening in the router settings will have to be performed separately. But still there are separate programs, such as Simple Port Forwarding, which will help to cope with the user with both voiced tasks at the same time without holding manual manipulations with the router settings.

Read more