For some network applications, online games and applications to work, you need to open the port in the Windows 10 firewall settings. Moreover, many users who have a WiFi router installed believe that it is enough to open the port on the network device, but for some reason they completely forget about the computer’s security system. There are two ways to open ports in Windows 10 - we will look at each of them.
What is it for
It's no secret that the vast majority of programs use an Internet connection using special ports. By default, the computer (or antivirus software) independently determines which protocol to allocate to a particular application. Unfortunately, at this stage the software often makes mistakes, blocking access to the Internet for individual utilities. The problem can only be solved by forwarding the port using OS tools or using third-party software. Instructions for each individual method can be found below.
Important. To perform the operation, you first need to find out the number that is used by one or another program to access the Internet.
Who's busy with what...
We figured out where you can find ports on Windows 10 and how to figure out whether they are open or in standby mode, now let’s see which program uses open ports, perhaps we don’t need it. Let's remember the screenshot on which there is a list with PID numbers of the process text_19/screenshot_03
Let's see who this mysterious guy is under PID 4
Port forwarding in a firewall
The simplest option that most users choose. For forwarding, we will create rules for incoming and outgoing traffic. Let's look at the instructions using port 8080 as an example. You can use any other number, having clarified its purpose in advance:
- Open Control Panel using the Windows search bar or any other method.
- Set the view mode to "Category" and go to the "System and Security" section.
- Select Windows Defender Firewall.
- Go to "Advanced Options".
- Right-click on the “Rules for incoming connection” tab, and then click on the “Create rule” button.
- Specify the rule type as “For port”, and in the next window about and enter 8080. It is possible that your application uses a different number.
- As an action, select "Allow connection", select all profiles and come up with a name for the rule. To avoid confusion, make the name the same as the name of the program.
Similarly, you will need to create a rule for outbound connections, since 99% of applications use both types. After completing the operation, restart your computer and check the functionality of the program.
How to open a port on a Windows 10 computer?
Let's start with basic knowledge of what a port is and how to open them on Windows 10 - imagine a tunnel through which there is interaction between two points, to enter, each of them needs an open door, so port is a point, and the door is its open or closed status. As a rule, network exchange is required in games, various network distributions, etc. Moreover, you have probably heard such a thing as a firewall - built-in protection - a firewall that can protect the system - like a stone wall is a house, and every new port opening hurts it.
In antivirus software
You can also configure forwarding through anti-virus programs, be it 3389 for remote connections or 25565 for the game Minecraft. Let's look at the algorithm for performing the operation using the Kaspersky Internet Security antivirus as an example:
- Launch Kaspersky Anti-Virus.
- Open the program settings by clicking LMB on the gear.
- Go to the "Advanced" section and then "Network".
- In the “Controlled Ports” tab, click LMB on the “Select” inscription.
- Click on the “Add” button and enter the number.
- Save your changes.
This method seems preferable because the user saves time due to the fact that he does not have to create separate rules. However, this option only works if other software, such as Windows Defender or router software, does not block the connection.
A little about ports
We offer a small table with the most frequently used ones and a brief description of them.
FTP (File Transer Protocol) data transfer
sending FTP commands
SSH (Secure Shell) port
SMTP (Simple Mail Transfer Protocol) sending mail
DNS (Domain Name System) - network name resolution
Finger is a network protocol designed to provide information about users of a remote computer
HTTP (HyperText Transfer Protocol)
POP3 (Post Office Protocol 3) - receiving mail
(Network News Transfer Protocol) - used to send newsletter messages
NTP (Network Time Protocol) - time synchronization
NetBIOS (Network Basic Input / Output System) - a protocol for working in local networks on personal computers such as IBM / PC
IMAP (Internet Message Access Protocol) - receiving mail
SQLSRV (SQL Service)
HTTPS (HTTP Secure) HTTP with SSL or TLS encryption
SMTPS (SMTP Secure) - SMTP with SSL or TLS encryption
rLogin (Remote LOGIN - remote login) for Linux
IMAPS (IMAP Secure) IMAP with SSL or TLS encryption
RDP (Remote Desktop Protocol) Windows remote desktop
Virtual Network Computing (VNC)
Zimbra Administration Console over HTTPS
Openfire Administration Console
I would like to answer the most common question: how to find out your port on Windows 10? There are plenty of ways:
On our website you will always find useful information, including:
Through the router settings
You can try to enable game port 27015 or TCP port 80 for unencrypted traffic through the router settings. Let's take as a basis the algorithm applicable to ASUS brand routers:
- Open your browser.
- In the address bar, enter the IP address of the equipment (192.168.1.1 or 192.168.0.1).
- Enter your username and password (usually the “admin” pair is used).
- In the router settings, go to the “Port Switch” section.
- O to activate the function and enter the number after selecting the TCP protocol.
- Click on the "Add" button.
Advice. If for one reason or another you are unable to enter the router settings, then study the details of the contract. As a rule, the IP address of the equipment, login and password are indicated here.
Of course, in the case of routers of other brands, the instructions will be different. Steps 1-3 will remain unchanged, and all further actions depend on what the router settings menu is.
Setting up for torrent
Using the already proven method, we repeat steps up to 6, and indicate the following:
- “Rule type” → “For port” → “Protocol and ports” indicate “TCP protocol” → “Specified local ports: 33033”.
- Before the naming step, everything is identical; we give the name “torrent” accordingly.
uTorrent
Surprisingly, the uTorrent torrent client has a built-in Firewall that periodically blocks ports 443 (hypertext transfer) and 7777 (data transfer control). Therefore, it is also recommended to delve into its settings:
- Launch uTorrent.
- LMB on the “Settings” tab and select “Program Settings”.
- In the “Connection” tab, enter the number of the blocked port.
- Click on the “Apply” button to save the new settings.
There is an easier way to remove restrictions - close all processes associated with uTorrent. But this will not solve the problem if the torrent client is running on a regular basis.
Pull-up and terminating resistors
Some UPort models have built-in resistors that ensure proper operation of the RS-422/485 lines.
A 120 Ohm matching resistor or terminator is placed at the beginning and end of the line to prevent signal reflection from the end of the line and distortion of the useful signal in RS-422/485.
When the communication line is long (more than 100 meters), long line effects arise, which are associated with the inductance and capacitance of the cable. It turns out that the signal transmitted to the line from one side begins to be distorted as it propagates to the other side.
Since in practice the cable has the same parameters of linear capacitance and inductance along its entire length, this property of the cable is characterized by characteristic impedance. Therefore, if a resistor with a resistance equal to the characteristic impedance of the cable is used at the receiving end of the cable, then the negative resonance phenomena are significantly weakened.
Pull high/low resistors are designed to limit the current flow through signal circuits and to make the default state of a digital input high or low.
The digital input cannot be directly connected to the power supply without current limiting, and the input cannot be left unconnected to anything, because False changes in the input state are possible due to external interference.
A circuit with a pull-up resistor can be represented as a voltage divider consisting of two resistors - one pull-up and the other in place of the button.
The logic input has a capacitance relative to ground, which affects the rise or fall time of the signal when the button is opened. The fall or rise time is the time between opening the button and reaching the threshold voltage signal, upon reaching which the logic input detects a change in the logical state from high “1” to low “0” or vice versa.
:/> Learning to use Telnet #1
Fall and rise times depend on the product of resistance, capacitance and a coefficient that takes into account the threshold voltage. When connecting various devices, the capacitance value changes, this leads to a change in the signal shape, which can negatively affect the correct determination of the signal level.
Therefore, sometimes it is necessary to adjust the values of the pull-up resistors to restore the signal shape. Below is an example of what a signal might look like with different pull-up resistor values:
Usually the default pull-up resistor values are optimal, but if the waveform is very distorted or the data is being transmitted with errors, then you should change the pull-up resistor values.
Below is an example of the location of the switches for changing the values of the pull-up resistors.
Checking the result
Once you have opened all the necessary ports on your computer, you will need to check them. Perhaps an error was made at one of the stages and the connection is still limited. To perform the operation, you should turn to the help of special services like 2ip.ru, where in the “Check” section you will need to indicate the TCP or UDP port number.
If you do not trust third-party resources, then open the Command Prompt, enter the query “netstat –a” and press the “Enter” key. A list of all open ports will appear on the screen, where you can check the availability of yours.
Opening ports for games
Network games actively use ports, and of course there is often no way to start or no access at all, so how to open ports on Windows 10 for games. Follow the same instructions above until step 4.
- “Rule type” → “Program” → “Program path” → “Browse” - select the location of the executable *.exe file.
Each step is shown in detail in the screenshots.
The essence and cause of the problem when error code 10 occurs
became famous on the Internet not for its chips, but for the dysfunction of its drivers, which occurs when a user switches from Windows 7 to 10. As I mentioned above, some drivers for Prolific chips only work with Windows 7 and lower. And they stop working with more modern versions of the OS (8.10).
Many users, having switched from version 7 to 10 of Windows, discovered that their devices with Prolific chips stopped working. And in the Device Manager, next to the name “Prolific usb-to-serial comm port” there is an exclamation mark, signaling an error with code 10.
Another factor causing the problem is the counterfeiting of Prolific chips by little-known Chinese manufacturers. As with real chips, fake chips have the same Vendor ID (VID_067B) and the same “Product ID” (PID_2303), so it can be difficult to distinguish the original from the fake.
:/> COMP - file comparison.
To eliminate fake chips, Prolific has released new drivers that do not work with fake chips, rendering them useless. At the same time, this decision led to the abandonment of driver support for the company's earlier adapters.
Therefore, 64-bit Prolific drivers distributed by Microsoft through Windows Update, versions 3.4.67.325, 3.4.25.218, 2.1.51.238, 3.4.62.293 will not work with most adapters. And in the Device Manager, the user will see an exclamation mark and error code 10. Or, alternatively, you will not see errors in the remote control itself, but your device simply will not work.
This may be useful: Download and install the Qualcomm HS-USB QDLoader 9008 driver.
Removing unused devices (part 2)
So, we rebooted, and now we can open the device manager. I will do this again through the same “My Computer” icon on the desktop (I must say, it hangs there only for this purpose). Right-click and select “Management” from the menu.
We (after a while of stupidity) open a wonderful “Computer Management” console, in which we are interested in only one item: “Device Manager”. We click on it on the left in the tree, and on the right another tree joyfully opens - all sorts of devices that are connected in the system and for which there are drivers.
Device Manager console
We, no less happily, immediately go to the “View” menu, selecting “Show hidden devices” and, if our DEVMGR_SHOW_NONPRESENT_DEVICES variable was set correctly and the system was rebooted, we will see a list of devices two to three times larger than usual.
Show hidden devices
Just for fun, you can open some thread to see how the system displays information about connected and unconnected devices. I expanded the Keyboards and USB Devices section. Why are there so many devices and where do they come from?
The fact is that the system (not out of stupidity, but for cleverness) remembers not only the manufacturer code (VendorID) and model (ModelID) of the device, but also the place on the bus where it is connected. For all boards, this is the number (or some kind of internal identifier)
Why doesn’t the system then ask for a driver from, for example, a printer if we plugged it into another connector? When you connect the printer for the first time, it’s clear that the system does not know the device and asks for firewood. And with subsequent ones to another connector? In this case, the driver database works, where it is written that for VendorID ModelID is such and such a driver. And when the device connection changes, the system takes the same driver as it was, without asking anything.
So, let's take a closer look at the screenshot. I highlighted in green those devices that the system knows (they are connected) at the moment. Red ones are those that are not present (they are not connected now). The system itself, if you look closely, marks them with either a bright or shaded icon.
By analogy, you can find records of all the flash drives that have ever been poked into this computer and other other devices. Here it is - the whole secret life in the palm of your hand :))
Well, we still need to show where we can change (or free up) the beautiful COM portico for our purposes. These ports (even those obtained from RS-232<>USB converters) are located in the “Ports (COM and LPT)” section. My device is labeled as CS COM-USB Bridge, and initially it suddenly hung on COM22.
I wanted to get my COM16 back (it’s already on the screenshot). Only when I turned on “Show hidden devices” did I understand the depth of the fall from grace