• Open port 6220 for connecting via the Internet. How to open ports

    If not all, then many users, especially those who prefer online team games, know that for some applications on Windows systems special ports must be used, without which the correct functioning of some programs that require access to Internet resources in their work , it will be impossible. For example, the same Skype application uses port 443, corresponding to the TCP protocol; browsers mainly use port 80. We will discuss how to open the port on Windows 7 below. I would immediately like to reassure all users who are far from understanding such technologies that after reading this material, they will be able to open ports on their own and use them, for example, popular game Minecraft.

    What are ports and why are they needed?

    Before considering the main question regarding how to open a port on Windows 7, let’s dwell a little on theoretical information.

    What are ports in a general sense? These are certain communication channels that are allocated for the operation of certain applications. However, only the program for which they are assigned uses them. Each port corresponds to a protocol (TCP or UDP), that is, a set of rules governing the Internet connection with the right resource and the implementation of data reception and transmission.

    Usually in the operating system for standard ( typical applications) produce manual settings no need. But just for some specific programs (the same Minecraft games) ports must be opened independently. Also, open ports in Windows 7 or similar systems allow you to use them to provide access to some resources inside local network, and not just on the Internet. In general, the scope of use of ports is quite extensive.

    How to open a port on a computer with Windows 7: general technique

    Now let's move on to practical actions. The whole methodology comes down to setting the firewall parameters. Please note right away that opening ports using operating system is used exclusively for wired connections. If you access the network or the Internet via wireless communication, when a router or ADSL modem acts as a router, this technique is not suitable. And the ports will have to be opened or reassigned exclusively on the router.

    So, first we call the standard “Control Panel” and go to the firewall section in it. In the main settings window, use the line of additional parameters located in the menu on the left, after which you will be asked to open them as an administrator. We agree.

    After this, the parameters window will open in the mode increased security. Now the question of how to open a port on Windows 7 involves creating a new rule (the column with the corresponding line is in the right menu).

    In the new window, which is a kind of “Configuration Wizard”, in the rule type, select creating a rule for the port and click the continue button.

    On next stage You must set the type of protocol to use because applications can use both TCP and UDP. We select TCP, and then indicate for which ports the new rule will be used (for all or for a specific one). Let's use opening port 443 to Skype programs and specify it in the settings.

    At the next stage, you must give permission to connect using the port being opened. Mark the corresponding line ( secure connection with authentication it is better not to use).

    Next, the profile settings can be left unchanged (the checkboxes will be checked opposite all the items), then enter an arbitrary name for the new rule and click on the “Finish” button. All. The created rule is active and the port is available for use.

    Note: in some cases, such settings may not produce results if the port being opened is blocked by your provider for some reason.

    How to open a port on Windows 7 via the command console?

    As you can see, the firewall settings are quite simple. However, there is another equally effective technique. In Windows 7, the command line makes it even easier and less time-consuming to open a port of any type, although many users clearly do not like using it. Nevertheless, we will dwell on this option.

    Let's launch command console as an administrator using the main Start menu or the Run menu with the cmd command. Then we write a combination of the following content:

    netsh advfirewall firewall add rule name="RULE_NAME" protocol="PORT_NUMBER" localport=Port action=allow dir=IN.

    The name of the rule, as in the case of firewall settings, is entered arbitrarily, and the port number that should be opened is indicated (for example, 443, as in the previous method).

    View open ports

    Now you need to make sure everything is done correctly. Open ports on a computer with Windows 7, you can view it through the same command console, in which you should enter the command netstat -a.

    A list of all open ports will be displayed on the screen. Each of them will have a specific description, where:

    • ESTABLISHED - connection is established and the port is in use;
    • TIME_WAIT - the port is in waiting mode for opening to establish communication;
    • CLOSE_WAIT - port in standby mode;
    • LISTENING - the port is in listening mode.

    Port reassignment issues

    In principle, for this you can use the section variable environments(line additional options in computer properties), create in it new parameter DEVMGR_SHOW_NONPRESENT_DEVICES and assign the value as one. After this, we call the standard “Device Manager”, sort the devices by type, and in the LPT and COM ports section you can immediately identify all the devices that use these ports, without any need. Reassignment can be done from additional menus, corresponding to each device (or delete them altogether).

    Brief summary

    If we draw a line under all of the above, it seems that the optimal solution with the least amount of time would be to use command line. But for a novice user, the first method is also suitable due to its simplicity and accessibility.

    As for the issues of reassigning ports, it is not recommended to do this unnecessarily, otherwise some devices will stop working altogether. Opening ports on routers was not considered, since in this case only a web browser is used among the operating system tools, and the opening technology is somewhat different from that adopted as a standard in the system.

    On routers, many people know. But there are often situations when the user does this, but an external check shows that the port is still closed. Some run into this problem and don’t understand what to do next. One common reason is the security system personal computer. The fact is that, having learned how to open ports for a router, a person does only half the job. They also need to be opened in the firewall rules on the computer. Next, we will describe in detail how to open ports on Windows 10 and lower versions of the operating system.

    How to get into the firewall settings

    These settings are located in the Control Panel, where there is a “System and Security” section. In new versions of the operating system, you can use a desktop element such as search. In it you need to start typing the word “firewall”, and the user will see the desired link in the results. Another very quick and convenient method for getting into the settings is to press the Win+R combination. A line will appear in which you should write: “firewall.cpl” and click OK.

    How is the computer in the firewall?

    In the built-in firewall settings, you need to go to " Additional options", after which a section with parameters in enhanced security mode will open. On the left there is a field with rules for incoming connections. You need to open it and create a rule. To do this, in the "Actions" window on the right, click the corresponding item, and the "Wizard for creating a rule" will open connection." The rule type must be selected for the port. Next, the protocol type is selected and the port is indicated. As a rule, TCP is selected as the protocol, and less often - UDP. The port number is also indicated here. How do you know which port to open? Each game and program requires mine specific number. It can be found using search engine. After this, the checkbox is checked to allow the connection, a name is created for the rule, and that’s it. The port is now open. You can check its availability from the outside using special program PFPortChecker. If the check shows that the port is closed, you can resort to this option: allow the program any type of network activity. How to open ports this way? Again you need to go to the settings and create the rule again. But now it is created not for the port, but for the application. In the window that opens, you need to select the program you need access to. The checkbox is checked again to allow the connection, and a name is invented. Now the rule has been created for the program.

    If this step did not help, then how can I open more ports? You can try to completely disable the firewall built into the system.

    How to disable the firewall?

    To disable it, you need to select the item called “Turn on and off” in the settings. A window will open with parameter settings for network types. For each, you need to check the box that disables the firewall. After confirmation, it will become inactive, and the operating system on the current computer will become completely open to threats from the external network. Therefore, it is recommended to disable the security system either for a short period of time to check for problems related to port availability, or if migrating to a third-party packet filter. And it is highly undesirable to constantly work on the network with the firewall disabled.

    How to open ports for the server?

    To do this, you need to open the router settings, log in, and then go to the “ Firewall" Here you select the option " Virtual servers" It is worth noting that the names may differ on all routers. A window will open where you need to fill in all the fields in accordance with which server is needed. There is nothing difficult here.

    How to open a port in Ubuntu?

    It's no secret that Windows is aimed even at inexperienced users. That is why in this system all operations are performed using GUI. In Ubuntu, all operations are carried out using special commands written on the command line. How to open ports in this system?

    The answer may surprise you: not at all. The thing is that here no ports are blocked at all by the default firewall. The user, on the contrary, can block them if he wishes. If somehow the port turns out to be closed, then you can use the Nmap program to check it. It is able to recognize different port states. So, the Open state means that the application is ready to receive packets on this port. Filtered means that a filter or firewall is blocking a port on the network. The program cannot determine whether it is open or closed. Closed means that the port is not currently associated with any application, but can be opened at any time. Finally, the Unfiltered state means that the port is responding to the utility's request, but there is no way to determine whether it is open or closed.

    If you press the space bar while scanning, the progress will appear.

    If the user is closer not to text, but graphics programs, then there is a Zenmap utility that is graphical shell for Nmap. She knows how to build a network map.

    Results

    Thus, in order to open ports on computers, there are many in various ways. Some are suitable for some operating systems, others for others. The user must decide on the appropriate means, and the operation itself will not take much effort. In addition, it is useful to get to know the work computer equipment in more detail. Such skills will always come in handy.

    Not everyone knows how to open ports on Windows 7, 8, 8.1, but many PC users have probably heard about them. However, for some online games or programs that require Internet access, opening additional connections becomes necessary. Sometimes you need to open or check already open ports.

    A port is a specific numeric code that allows the system to exchange data with hosting providers from the Internet. This is a kind of path that helps you check the necessary data and get it from a remote server to your computer, exactly at the address.

    Some applications do not require opening additional connection, since it is pre-opened. But for some closed resources, games (for example, Minecraft), this has to be done manually.

    Opening methods

    Easiest general way

    Most available method pretty simple. Below is an algorithm of actions that need to be performed:

    • In the “Control Panel” we find the “System and Security” item, then open “Windows Firewall”.

    Open Windows Firewall

    • Select "Advanced options"
    • In the window that appears, select “Rules for incoming connections” (left column).

    Select “Rules for incoming connections”

    • Next, you need to create a rule, click on the corresponding icon.
    • Rule type “For port”, click the “Next” button, put the marker on “ TCP protocol" and enter the number (you need to check it accurately). Click “Next” again.

    Place a marker on “TCP Protocol”

    • Leave all the checkboxes - they determine which profiles the rule will apply to.

    Leave all the boxes ticked

    • Then you will need to come up with a name and, if you require it, a description. Click “Finish”.

    Specifying a name

    That's it - you have a new rule, now the computer will be able to connect to the desired server.

    Connection for the program

    This method may be required if the previous one could not provide required application required network activity. That is, simply, the required program still does not connect to the Internet.

    1. According to the previous algorithm, we get to the place where we need to select the type of rule, select the type of rule “For program”
    2. Place a marker on the “Program Path”, select using the “Browse” button, or manually enter the program address.
    3. Click “Next” and check “Allow connection”.
    4. Then we repeat everything we did with the previous method.

    As a result, this program will be allowed to connect to the network.

    By itself, it can often block many connections, so in some cases you can simply try disabling it. However, if you do not have any antivirus installed on your computer, then using the Internet with the firewall disabled can be dangerous for your computer.

    To disable the firewall, you just need to go into it, select “Turn on or off” Windows Firewall", in the settings settings, check the boxes for "Turn off Windows Firewall" and click "OK".

    Examination

    You don't always need to drive new number and choose a protocol, sometimes it is enough to know how to check if a port is open. This can be done using a special command. First, enter “cmd” (without quotes) in the command line (opened by pressing Win+R), then click “OK”, and in the window that appears, enter the command “netstat -a”. A list of all open protocols will then appear. This way it is easy to check their quantity. Such a check can be carried out on various free Internet services, which will also provide this information.

    It's quite easy to open new connections or disable blocking them altogether. These restrictions, with small skills, will not prevent you from gaining access to necessary information or data from the Internet. Now, if necessary, you can both open a port on your computer and check which ones are open.

    Port forwarding may be required by any user of a personal computer running Windows 10 or another OS. This article discusses all options for opening ports through a firewall, antivirus and router. For clarity, an example is shown with port forwarding to connect to the server of the multiplayer game Minecraft (online games are one of the main and common uses of this instruction).

    Many programs and games that use an Internet connection only work with certain protocols. Default operating Windows system 10 protects the computer from free access to any ports for security purposes. The same can be said about antivirus software (does not apply to standard Defender Windows) and router. Therefore, the user must independently allow access to a particular port when it is unavailable. Below is an example of forwarding for the online game Minecraft.

    Firewall forwarding

    Let's start setting up the built-in Windows 10 firewall. To allow access to a port, you need to create rules for incoming and outgoing connections. You can do this as follows:

    1. Open Control Panel.

    1. Go to the "System and Security" section.

    1. Now open the Windows Defender Firewall subsection.

    1. On the left side, click on the “Advanced options” button.

    1. Most games use both incoming and outgoing connections, so you need to create two rules. First, click on “Rules for incoming connections” and select the “Create rule” action.

    1. You can open the port separately for the program (1) or give the computer access to it completely (2).

    1. By default, Minecraft uses port 25565 for its operation. Since it uses both protocols (1), you will have to create two rules for incoming and outgoing connections. Do not select “All local ports” (2) so as not to make a huge “hole” in the security of your PC. In line (3) enter 25565 and click “Next”.

    1. Now check the first box and click “Next” again.

    1. Set up profile access.

    1. Enter a rule name and description. To create, click “Done”. The same must be done with the UDP protocol.

    1. Now in the main window, select “Rules for outgoing connections” and click on “Create rule” again. Do the same operation as described above. Once the configuration is complete, you should have 4 rules (2 for incoming connections and 2 for outgoing connections) for port 25565.

    Opening it in the firewall settings may not be enough for the Minecraft game to work, so let’s forward it in the antivirus.

    Forwarding in antivirus software

    The interface of each antivirus may differ from each other. However, the principle and essence of the actions remain the same. Let's look at opening port 25565 using an example protective program Kaspersky:

    1. Open the program settings using the marked icon.

    1. Go to the "Advanced" tab and open the "Network" section.

    1. In the marked item, click on “Select”.

    1. In the list that opens, click on the “Add” button.

    1. Specify the name and enter the value 25565, then save the changes with the “Add” button.

    Forwarding through router settings

    The same procedure must be carried out in the router settings. To do this, you need to follow the presented guide (works only for users with a static IP):

    1. Open your browser and enter the device IP in address bar. Typically this address is 192.168.1.1 or 192.168.0.1 (you can find the exact address of the router in the documentation or on the back panel of the device).

    1. Log in using your username and password.

    1. IN side menu click on WAN and go to the marked tab.

    1. Click on “Yes” (1), enter the name of the rule, the exact value 25565 in both fields (2) and click the “Add” button (3). This operation must be done for UDP and TCP protocols.

    After completing the settings, the router will automatically reboot and you will be able to continue using the Internet. Now you know how to forward for Minecraft and you can safely enjoy the gameplay online with other players.

    Depending on the router model, for example, TP Link, the sequence of actions may be slightly different.

    Ports in uTorrent

    The uTorrent client can also block connections using its built-in firewall. To remove the blocking you need:

    1. Open the uTorrent client and go to settings.

    1. Open the “Connection” section. In the marked line, enter the required number and save the changes with the “OK” button.

    1. Notice the marked indicator at the bottom of the torrent client. Click on it to test the connection.

    1. In the window that opens, click on “Test” (1). Pay attention to the port value (2) - it must match what you entered in the settings window.

    1. If after the test you receive green checkmarks, then the connection has been successfully established.

    However, this does not mean that performing this operation will increase the speed of downloading files via torrent. It all depends on the number of peers.

    Examination

    To check, two methods are usually used - the 2ip.ru website and the command line. Let's figure out how to check the port through the website:

    1. Open the link https://2ip.ru/ and go to the “Port Check” section.

    1. Enter the number you are interested in and click on the “Check” button.

    To check via the command line, you must:

    1. Launch the application via search.

    1. Enter the command “netstat –a” and press Enter.

    1. On the screen you will see a list of ports that are currently open.

    Below is a table with some popular TCP/UDP ports. Commonly known and recorded values ​​include the range 0 to 49151. The range 49152 to 65535 is used for short-lived client-server connections.

    NumberPurpose
    80 Connecting to HTTP
    280 Connecting to HTTP-MGMT
    3389 Remote Desktop
    443 HTTPS connection, various games
    515 Print service
    666 MDQS, DOOM games
    989 FTPS-DATA
    990 FTPS
    1167 Conference systems
    1234 Streaming video, VLC player
    1241 Nessus Security Scanner
    5121 Neverwinter Nights
    6969 BitTorrent
    8621 Ace Stream
    16591 Access to IP cameras and recorders from mobile devices
    19226 Panda Software
    27015 Half-Life games
    27018 Steam service
    29900 Nintendo Wi-Fi Connection
    37904 LG TV

    Conclusion

    Forwarding TCP/UDP connections is not difficult. After reading our instructions, you can repeat all the steps even without minimal practice. If you are a fan of online games or use applications that actively interact with the network, then the presented guide will definitely be useful to you. Don't limit yourself to opening the connection only in the firewall/antivirus/router individually - all from listed elements can block the desired protocol in parallel.

    You can open access to all connections by disabling security services (firewall, antivirus). However, such actions will have an extremely negative impact on general security personal computer, so we do not recommend disabling protection.

    Video

    This video clearly shows and describes all the steps in the instructions. With its help, you will be able to understand difficult and incomprehensible moments.

    In addition to opening a port on the router, the user needs to check whether it is open on the computer. Opening the port is necessary for operation certain applications or server installation. Often the port is blocked by the security system of your operating system. In our article we will describe ways to solve this problem.

    First, let's check which ports are open on your computer. Let's use the command line. To call the line, press the Win+R key combination and write the command “cmd”.
    In the command line window we write “netstat -a” and see a list of open ports on your PC. The LISTENING state means that a process has opened these ports and is waiting for connections. The ESTABLISHED state means that ports are open in a specific process or application.

    If your computer is connected through a router, then you first need to open the ports on the router. How to do this is indicated in the article

    To open TCP ports or UDP ports on your computer, you need to go to the firewall settings. Press the key combination Win+R. And enter the firewall.cpl command and click OK.
    In the firewall settings, click on the “Advanced settings” link.

    Let's go to the firewall settings section. On the left side of the menu, click on the item “Rules for incoming connections”

    A list opens. In the “Action” window, create a rule for the port.

    Select the protocol type. Check "Allow connection". Click the Next button.

    In the “Name” column we write the name for the rule - for example, torrent client. Click the Finish button.

    If all actions were performed correctly, the port with the created rule will be open.
    You can also check whether a port is open or closed using various online services. For example,