Если для какой-то программы или игры требуется подключение через определенный порт, может оказаться что по умолчанию в системе этот порт закрыт и соединение не выполняется. При необходимости порты в Windows 11, Windows 10 и предыдущих версиях системы сравнительно легко открыть.
В этой инструкции подробно о том, как открыть порты в Windows 11 или Windows 10, посмотреть список открытых портов и дополнительная информация, которая может пригодиться, если при подключении всё равно возникают проблемы.
Открытие портов в брандмауэре Windows
Основной способ открытия портов в Windows 11 и 10 — настройка соответствующих правил в брандмауэре.
Прежде всего, откройте настройки Windows в режиме повышенной безопасности. Для этого можно использовать следующие способы:
Следующий шаг — настроить правила для нужных портов:
- Нажмите правой кнопкой мыши по «Правила для входящих подключений» и выберите пункт «Создать правило» в контекстном меню.
- В мастере создания правил выберите пункт «Для порта» и нажмите «Далее».
- Выберите тип протокола — TCP или UDP (если вам не известен нужный тип, уточните в справке по конкретной программе).
- Укажите порты: конкретный порт или их диапазон, можно использовать запятые для перечисления нескольких портов, или знак дефиса для указания их диапазона. Нажмите «Далее».
- Выберите пункт «Разрешить подключение».
- Укажите, для каких типов сетей (сетевых профилей) следует открыть порты.
- Укажите имя правила и, при желании, его описание. Затем нажмите кнопку «Готово».
- Выполните действия 1-7, но уже для исходящего подключения.
Готово, порт открыт и, если что-то ещё не мешает его работе, соединения должны будут устанавливаться.
Возможные проблемы и дополнительные необходимые действия
Если вы открыли требуемые порты в Windows, но несмотря на это соединение не устанавливается, следует учитывать, проверить или выполнить следующие действия:
- VPN может влиять не возможность обмена данными по определенным портам. Решение: отключить VPN, либо посмотреть, есть ли возможность открыть порты в ПО для VPN.
- Роутеры имеют собственные функции файрволла/брандмауэра и порты может потребоваться открыть (пробросить) и в настройках роутера. В зависимости от марки и модели Wi-Fi роутера, это выполняется в разных разделах: перенаправление портов (port forwarding), брандмауэр (firewall), межсетевой экран, виртуальные серверы. Логика настройки везде одна и та же: добавляются обычно совпадающие внешний порт и внутренний порт (нужный вам порт), указывается внутренний IP (локальный IP компьютера, к которому нужно пробросить порт), тип протокола — TCP или UDP, иногда требуется указать интерфейс, для соединений из «внешней сети» — WAN.
- Если само приложение заблокировано в брандмауэре, оно не сможет устанавливать соединения: можно добавить правила, разрешающие подключения для программы тем же способом, которым это выполнялось выше для портов.
- Наличие сторонних файрволлов и антивирусов с функциями защиты сети также может влиять на возможность установки соединений по определенным портам: следует проверить их настройки, при наличии такого ПО, чтобы открыть соответствующие порты или отключить защиту для них.
Как посмотреть открытые порты в Windows и какие программы их используют
В Windows постоянно открыты многие порты, требующиеся как для работы системных служб, программ (в том числе сторонних), браузеров. Вы можете посмотреть список открытых портов одним из следующих способов:
- Запустить командную строку и ввести команду (порты указаны после двоеточия в IP-адресе)
netstat -a
- Если требуется посмотреть, какие процессы используют определенные порты, используйте команду (требует запуска от имени администратора)
netstat -ab
- Для просмотра открытых портов с ИД (PID) процесса (по которому в диспетчере задач можно увидеть конкретный процесс):
netstat -aon
- Есть сторонние программы, позволяющие получить сведения об открытых портах и использующих их процессах, например, бесплатная NirSoft CurrPorts.
Список «стандартных» и наиболее часто используемых портов доступен в Википедии, но многие игры и программы могут использовать свои собственные, не указанные в списке порты для работы.
Download Article
Configure your router or computer to accept incoming connections
Download Article
- Windows Firewall
- Windows Command Prompt
- macOS
- Router Ports
- Linux
- Check If Ports Are Open
- FAQ
- Video
- Q&A
- Tips
- Warnings
|
|
|
|
|
|
|
|
|
|
Do you need to allow an application or service through your PC or Mac’s firewall? If you’re running a server, streaming, gaming, or using an app that requires a port to be open, we can help. Many ports are closed by default to prevent intrusion, but it’s easy to open them. This wikiHow article will teach you how to open a port on Windows 10, Windows 11, Mac,, Linux, and even on your router. We’ll also show you how to find out if ports are open and share helpful security tips from computer and tech specialist Luigi Oppido.
Quick Steps: Open a Port on Windows
- Open Windows Defender Firewall with Advanced Security.
- Go to Inbound Rules > New Rule.
- Select Port.
- Select TCP or UDP and enter the port or range.
- Select «Allow the connection.»
- Name the firewall rule and click Finish.
-
To access your firewall settings on Windows 10 or 11, follow these quick steps:
- Press the Windows key on your keyboard or click the magnifying glass in your taskbar.
- Type windows firewall.
- Click Windows Defender Firewall with Advanced Security.
- If prompted, enter your password to confirm.
-
It’s in the upper-left side of the window.[1]
Advertisement
-
You’ll see this option on the right side of the window.[2]
-
This will allow you to manually choose the ports you want to open.
- If you are being told to open a port to use a specific application or play a certain game, Oppido recommends looking it up first. «If I’m being asked to open up a port, I do a quick Google search to see if that port is being used by any other services or protocols,» he says. If the port number is commonly used for a certain program, make sure that program isn’t something hackers are scanning for, as this could leave your system vulnerable.
-
Check the TCP box or the UDP box.
- Check your program’s support documentation to ensure that you are using the correct protocol.
- In most cases, if you’re opening a port to run specific software, you’re opening a TCP port.
-
Make sure the «Specific local ports» option is selected, and then type the ports you need to open into the field. You can open multiple individual ports by separating them with a comma, and you can denote a range of ports by using a dash between the two ends of the range.
- For example, you would type 8830 to open port 8830, 8830, 8824 to open both port 8830 and port 8824, or 8830-8835 to open ports 8830 through 8835.
- If you are supposed to choose a random port, Oppido recommends selecting a port in the thousands because a lot of three-digit port numbers are used by other apps and services.
-
It’s at the bottom of the window.
-
If this option isn’t checked, click the checkbox before continuing.[3]
- You can also use this tool to block connections.
-
These include the «Domain», «Private», and «Public» boxes.
-
It’s at the bottom of the window.
-
This will save your settings and open your port(s).
- If opening the ports required by your software or server doesn’t resolve your problem, you may also need to set up port forwarding on your router.
Advertisement
-
1
Open Command Prompt as an administrator. If you want to use the command prompt to open ports on Windows, you’ll want an administrator CMD window.[4]
To open one:- Press the Windows key and type cmd.
- Right-click Command Prompt and select Run as Administrator.
- Click Yes to continue.
-
2
Open a port. To open ports in command prompt, you’ll use the netsh advfirewall command. You will need to know the port number you are supposed to open and the protocol (TCP or UDP). In this example, we will open port 25565, a port commonly associated with Minecraft:[5]
- netsh advfirewall firewall add rule name= "Open port 25565" dir=in action=allow protocol=TCP localport=8025565
- «Open port 25565» is the name we gave to the firewall rule–you can call this anything you want.
- You can learn about more port-opening options by running the command netsh advfirewall firewall add rule ?
- Want to see which ports are open? Jump down to How to Check if Ports are Open.
Advertisement
-
1
Open your Mac’s firewall settings. If you want to allow a specific app through your firewall, you can do so in your firewall settings. Unlike in Windows, you won’t need to open specific port numbers on your Mac—the firewall manages ports on a per-application basis. Follow these steps to open your firewall settings:[6]
-
macOS Ventura or later: Click the Apple menu, select System Settings, click Network, and then click Firewall.[7]
- macOS Monterey and earlier: Click the Apple menu, select System Preferences…, Click Security & Privacy, and then click the Firewall tab.
-
macOS Ventura or later: Click the Apple menu, select System Settings, click Network, and then click Firewall.[7]
-
2
Click Options…. This will be called «Firewall Options» on older versions of macOS. A list of firewall rules will appear.
- If the options button is turned off, the firewall is disabled. Enable it now to continue.[8]
- If the options button is turned off, the firewall is disabled. Enable it now to continue.[8]
-
3
Click +. You’ll see this option below the list of firewall rules.[9]
-
Simply click an application to select it.
- If the app you are looking for doesn’t appear on the list, it may already have access through the firewall. This is true for many system services, as well as some digitally signed apps.[10]
- If the app you are looking for doesn’t appear on the list, it may already have access through the firewall. This is true for many system services, as well as some digitally signed apps.[10]
-
5
Click Open. It’s near the bottom of the window. Doing so will add the program to the list.
-
6
Make sure «Allow incoming connections» is displayed next to the app’s name. If you don’t see this to the right of the application’s name, click the dropdown menu to the right of the application’s name and select Allow incoming connections.
-
7
Click OK to save your changes. The application is now allowed through the firewall.
- If opening the ports required by your software or server doesn’t resolve your problem, you may need to also set up port forwarding on your router.
Advertisement
-
You’ll need your router’s IP address to access your router’s configuration page.
-
Windows: Press the Windows key on your keyboard, type cmd, and click Command Prompt. At the prompt, type ipconfig and press Enter. The IP address of your router appears next to «Default gateway.»[11]
-
Mac: Open the Launchpad, type terminal, and click Terminal.[12]
Then, type or paste netstat -nr and press Return to find the IP next to «Default.»
-
Windows: Press the Windows key on your keyboard, type cmd, and click Command Prompt. At the prompt, type ipconfig and press Enter. The IP address of your router appears next to «Default gateway.»[11]
-
Open your preferred web browser, then type or paste your router’s IP address into the address bar. Press Enter or Return to bring up the login page.
-
If you’ve already configured the router, enter the username and password you chose then. If not, consult your router’s manual or online page for the stock username and/or password.
- If you’ve forgotten your login information, you may have to reset the router.
-
Since each router’s page will differ slightly from others, look for the following options (or variations of them):
- Port Forwarding
- Applications
- Gaming
- Virtual Servers
- Firewall
- Protected Setup
- You may also want to look for an Advanced Settings section.
-
Each router will have a slightly different way of doing this, although the required information is the same for any router:
- Name or Description — Enter the application’s name.
- Type or Service Type — This can be TCP, UDP, or both. If you aren’t sure of which one to select, click Both or TCP/UDP.
- Inbound or Start — Type in the port number here. If you are opening a range of ports, type in the lowest number in the range instead.
- Private or End — Re-type in the port number here. If you are opening a range of ports, type in the highest number in the range instead.
EXPERT TIP
Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
Don’t open ports unless you know what you are doing. If you are opening ports, you’re opening more doorways into your network. Use unique ports that people aren’t using, maybe in the thousands or so, because a lot of people use three-digit ports.
-
This goes in the «Private IP» or «Device IP» field. You can find your private IP address on a PC or on a Mac.
-
Click the Save or Apply button. If prompted, you’ll also need to restart your router for the changes to take effect.
- You may also have to check an «Enabled» or «On» box next to the forwarded port row.
Advertisement
-
1
Make sure the port you want to open is not in use. You can do this using the netstat command at the command line. In this example, we’ll check to see if port 3331 is open:
- netstat -na | grep :3331
- If you get a «Command not found» when using netstat, replace «netstat» with «ss» like this: ss -na | grep :3331
- If the port is not currently in use, you will not get any sort of message because the port number was not found in the firewall rules. If the port is in use, you will see its associated rule.
-
2
Open the port in UFW (Uncomplicated Firewall). If you are using Debian, Ubuntu, or another Debian-based distribution running UFW, you would use this command to open port 3331:[13]
- sudo ufw allow 3331
-
3
Open the port in firewalld. If you are using firewalld, the default firewall for Fedora, CentOS, Red Hat, and other RH-based distros, you would use this command to open port 3331:[14]
- firewall-cmd --add-port=4000/tcp
Advertisement
-
To see if your ports are open to people outside of your network, try a web-based port checker. These port-checking websites are great for making sure certain ports, such as your Minecraft server or Soulseek port, are open. Just visit any of these sites and enter your IP address and the port you want to check.
- [15]
- [16]
- [17]
- [15]
-
If you want to see a quick list of all open ports on your Windows PC, you can run a simple command at the command prompt. Here’s how:
- Press the Windows key on your keyboard and type cmd.
- Right-click Command Prompt and choose Run as administrator.
- Click Yes to proceed.
- Type netstat -ab and press Enter.
- All open TCP and UDP ports will appear, along with the name of the app using that port.[18]
-
You can see a list of all open ports in your Mac’s Terminal app. Here’s how:
- Open Terminal by clicking the Terminal icon on the Launchpad.[19]
- Type lsof -i -P and press Return to see all open (listening) ports. It may take a moment for the list to populate.
- Open Terminal by clicking the Terminal icon on the Launchpad.[19]
-
4
See all open ports on Linux. To see which ports are in use on your Linux system, open a Terminal and run the command sudo ss -tunl.
- You can also use the command sudo lsof -nP -iTCP -sTCP:LISTEN to see a list of TCP listening ports.
Advertisement
-
1
What does open ports mean? An open port is a network entry point that can accept connections. For example, when you load a website that begins with «https://», the SSL port (port 443) is open, which allows you to access the website.
-
2
Why do hackers scan for open ports? Hackers use port-scanning tools to scan for exploitable software/vulnerabilities in remote computers. For example, a hacker can enter an IP address, scan it for all open ports, and then use various tools to try exploiting the software running on those ports.[20]
-
3
Why are ports 80 and 443 open? If these ports are open on your server, it’s usually because there’s a web server running (or installed and not yet running). Port 80 (and sometimes port 8080) is the standard unencrypted HTTP port, while 443 is the encrypted HTTPS port.[21]
In most cases, port 80 forwards to port 443 so that people attempting to load the unsecured version of the website will be served the SSL version.[22]
-
4
What happens when you open a port? You’re allowing inbound connections through your firewall. Essentially, you’re opening a door to computers outside of your network to connect to the software that runs on that port.
Advertisement
Add New Question
-
Question
Will this put my device or router in danger of hacking or viruses?
Yes, opening the wrong port may compromise your computer’s security and render it vulnerable to viruses and other malicious activity, like hacking.
-
Question
How can a hacker open a port?
By using ipconfig command at the command prompt or using Windows log key and type run and then cmd.
-
Question
How do I tell if a port is open on my router?
Go to command prompt and enable telnet services, syntax, telnet (ipadress) (port number).
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
-
Most applications use TCP ports. Time-sensitive programs, like multiplayer video games and live streaming apps, may use both UDP and TCP ports.
Thanks for submitting a tip for review!
Advertisement
-
Be careful when opening ports. Opening the wrong port may compromise your computer’s security and make it vulnerable to viruses and other malicious activity like hacking.
Advertisement
About This Article
Article SummaryX
1. Sign in to your router’s admin site.
2. Go to the Firewall page.
3. Locate the Port Forwarding section.
4. Enter or select the port.
5. Enter your computer’s private IP address.
6. Click Save or Apply.
7. Restart the router.
Did this summary help you?
Thanks to all authors for creating a page that has been read 1,288,358 times.
Is this article up to date?
Port forwarding is a technique used to direct network traffic from one network port to another. In Windows, the NETSH (Network Shell) command-line tool can be used to set up port forwarding. This article provides a detailed guide for system administrators on how to configure port forwarding using NETSH, a task essential for various network management and troubleshooting scenarios.
Understanding Port Forwarding
Port forwarding allows external devices to pass through a firewall to a specific device or service within a private local area network (LAN). This is particularly useful when hosting public services like web servers or FTP servers on a private network.
Prerequisites
- Administrator Privileges: You must have administrator rights on the Windows machine.
- Familiarity with NETSH: Basic understanding of the NETSH command is beneficial.
- Network Configuration: Know the specific ports and addresses that need to be forwarded.
Step-by-Step Guide to Configure Port Forwarding
Step 1: Open an Elevated Command Prompt
Right-click on the Start menu, select “Command Prompt (Admin)” or “Windows PowerShell (Admin)” to launch an elevated command prompt.
Step 2: Adding a Port Forwarding Rule
To forward a local port to a remote server port, use the following syntax:
netsh interface portproxy add v4tov4 listenport=[LocalPort] listenaddress=[LocalAddress] connectport=[RemotePort] connectaddress=[RemoteIPAddress]
For example, to forward local port 8888 to remote server port 80 at IP address 64.57.102.36, use:
netsh interface portproxy add v4tov4 listenport=8888 listenaddress=0.0.0.0 connectport=80 connectaddress=64.57.102.36
Step 3: Verifying the Configuration
Check if the TCP port is listening correctly:
netstat -an | findstr /I [LocalPort]
Replace [LocalPort]
with the port number, like 8888.
Step 4: Configuring the Firewall (Optional)
To allow incoming connections on the forwarded port, add a firewall rule:
netsh advfirewall firewall add rule name="Allow TCP Port [LocalPort]" dir=in action=allow protocol=TCP localport=[LocalPort]
Replace [LocalPort]
with the appropriate port number.
Step 5: Testing the Port Forwarding
Use a web browser or a network tool to connect to the local port and verify that the traffic is correctly forwarded to the remote address.
Advanced Configuration and Use Cases
- Port Forwarding for Multiple Ports: Repeat the port forwarding rule addition for each port that requires forwarding.
- IPv6 Support: If handling IPv6 addresses, adjust the command to support
v6tov4
orv6tov6
as required. - Use Case – Remote Administration: Forward specific ports to manage remote servers or devices from a central location.
- Use Case – Hosting Services: Forward ports to host services like web servers or gaming servers on a private network.
- Load Balancing and Redundancy: Set up port forwarding to distribute traffic among multiple servers for load balancing and redundancy.
- Security Considerations: Be cautious with port forwarding as it can expose internal network resources to the public internet. Always use in combination with robust security measures.
Removing Port Forwarding Configuration
To remove a specific port forwarding rule:
netsh interface portproxy delete v4tov4 listenport=[LocalPort] listenaddress=[LocalAddress]
To clear all port forwarding configurations:
netsh interface portproxy reset
Troubleshooting Common Issues
- Firewall Blocking: Ensure the Windows Firewall or any third-party firewall isn’t blocking the forwarded ports.
- Correct IP Addresses and Ports: Double-check the IP addresses and port numbers used in the commands.
- Command Syntax: Ensure the NETSH command is typed correctly, with appropriate parameters.
Conclusion
Configuring port forwarding using NETSH in Windows is a powerful technique for network traffic management. It is essential for system administrators to understand and utilize this tool for various network configurations and troubleshooting tasks. By following this guide, you can effectively set up port forwarding to meet specific network requirements, ensuring efficient and secure network operations.
arrow-right
Created with Sketch.
Андрей Мареев
946
В избр.
Сохранено
Читайте, как открыть или закрыть порты на компьютере или ноутбуке с Windows 10, 8 или 7. Как проверить открыт ли нужный порт, как посмотреть состояние всех портов, и как узнать какой порт использует конкретная программа.
Мнение автора может не совпадать с мнением редакции
Введение
Операционная система «Windows 10», управляющая компьютерными устройствами и следящая за корректным исполнением всех запушенных процессов, обладает мощной встроенной службой комплексной защиты «Защитник Windows». Одним из элементов предустановленной службы, оберегающем пользователей от множественных разнообразных сетевых угроз в «Интернете» (как от входящего потока данных, так и от разнообразных локальных приложений, пытающихся получить несанкционированный доступ), является «Брандмауэр Windows». Защитный инструмент ограничивает доступ для всех объектов, кроме разрешенных. И если пользователю необходимо разрешить сетевую передачу данных без ограничения брандмауэром, то потребуется соответствующим образом открыть в настройках порт.
Это одно их важных условий создания устойчивого соединения, ведь когда устройство подключается к другому устройству в сети (включая сеть «Интернет»), оно указывает номер порта, что позволяет принимающему устройству корректно обрабатывать передачу данных. Если «IP-адрес» выступает сетевым идентификатором устройства и показывает конкретное местоположение устройства, то номер порта позволяет принимающему устройству определить, какая программа настроена на получение входящего информационного потока.
По умолчанию, большая часть входящих нежелательных сетевых пакетов данных из «Интернета» блокируется «Брандмауэром Windows». Но если пользователи увлекаются играми и планируют создать собственный игровой сервер или регулярно и на постоянной основе пользуются файлообменниками (например, торрентами), то для успешного исполнения намеченных действий необходимо открыть порт, чтобы пропустить требуемую информационную пакетную передачу данных без блокировки брандмауэром.
Примечание. В данной статье показано, как открыть порт в брандмауэре конкретного компьютера, чтобы разрешить сетевую передачу. Если доступ в «Интернет» происходит через маршрутизатор (один из самых распространенных способов), также будет необходимо разрешить пропуск данных и в маршрутизаторе путем установления соответствующей переадресации.
Как открыть порт в «Windows 10»?
Выполнить непосредственную процедуру по открытию порта в операционной системе «Windows 10» можно в соответствующем мониторе брандмауэра с привилегированным режимом повышенной безопасности. Открыть необходимый раздел приложения можно разными способами. Но в нашей статье мы остановимся лишь на двух возможных вариантах.
Нажмите на «Панели задач» в нижнем левом углу рабочего стола на кнопку «Пуск» и откройте главное пользовательское меню «Windows». В основном перечне установленных приложений и системных служб, используя колесо управления манипулятора (компьютерной мыши) или задействуя бегунок полосы прокрутки, перемещайтесь по списку, отыщите и откройте раздел «Служебные-Windows». Во вложенной всплывающей вкладке выберите, из доступных вариантов, раздел «Панель управления», которая содержит все основные служебные инструменты управления настройками операционной системой.
атем, в открывшемся окне элементов управления, выберите из списка предложенных инструментов раздел «Брандмауэр Защитника Windows».
Или введите в строку поискового запроса, расположенную на «Панели задач» в нижнем левом углу экрана рядом с кнопкой «Пуск», фразу «Брандмауэр Защитника Windows». В поисковой панели в разделе «Лучшее соответствие» будет представлен искомый инструмент. Щелкните его левой кнопкой мыши или в правом боковом меню управления нажмите на кнопку «Открыть», и искомое приложение будет запущено.
В новом окне панели управления системой, ответственном за надлежащую организацию защиты компьютера от злоумышленников и вредоносных программ в «Интернете» или локальной сети, нажмите на текстовую ссылку «Дополнительные параметры», расположенную в левом боковом меню.
Пользователи смогут открыть окно «Монитор брандмауэра Защитника Windows в режиме повышенной безопасности», регулирующий политики режимов защиты компьютерных устройств, функционирующих под управлением операционной системы «Windows 10».
Выберите в левой боковой панели окна раздел «Правила для входящих подключений», полный список которых будет мгновенно отображен в центральной панели окна. А затем нажмите в правой боковой панели раздел «Создать правило».
Если возникла необходимость создать правило для исходящего потока информационных данных, то в левой боковой панели вместо раздела «Правила для входящих подключений» выберите вариант «Правила для исходящего подключения». Большинство приложений довольно хорошо умеют создавать свои собственные исходящие правила при первоначальной установке, но иногда пользователи могут столкнуться с ситуацией, когда необходимо выполнить открытие порта для исходящего потока самостоятельно вручную.
В новом окне «Мастер создания правила для нового входящего подключения» на странице «Тип правила» выберите раздел «Для порта», установив в соответствующей ячейке индикатор выбора (точку), и нажмите на кнопку «Далее».
На следующей странице пользователям необходимо выбрать, будет ли открываемый порт использовать протокол управления передачей «TCP» (основной распространенный протокол управления потоковой передачей данных) или протокол пользовательских датаграмм «UDP» (значимый элемент набора сетевых протоколов, использующий датаграммный, в виде отдельных сообщений, интерфейс обмена данными). К сожалению, точно указать, какой конкретно протокол использовать мы не можем, потому что различные приложения используют разные протоколы, индивидуальные для каждой программы. Номера портов могут варьироваться от «0» до «65535», причем порты до «1023» зарезервированы для привилегированных услуг. Пользователи могут найти неофициальный список большинства, доступных для использования, портов формата «TCP» и «UDP» на соответствующей странице «Википедии» с указанием возможного зарезервированного приложения. Если не удалось определить конкретный протокол, который будет использоваться для приложения, можно создать два новых правила для входящих подключений — одно для протокола «TCP» и второе, соответственно, для «UDP».
Выберите параметр «Определенные локальные порты», установив в связанной ячейке индикатор выбора (точку), а затем введите номер порта в соответствующее поле. Если планируется открыть более одного порта, можно разделить их запятыми, а для диапазона портов необходимо использовать дефис («-»). Потом нажмите на кнопку «Далее» для продолжения.
На следующей странице установите индикатор выбора (точку) в ячейке раздела «Разрешить подключение», а затем нажмите кнопку «Далее».
Примечание. В данном руководстве мы будем использовать параметр «Разрешить подключение», поскольку доверяем соединению, для которого создаем правило. Если присутствуют определенные опасения, то можно выбрать вариант правила «Разрешить безопасное подключение», которое осуществляет проверку подлинности и использует параметры безопасности «IPSec» для аутентификации соединения. Однако данный параметр многие приложения могут не поддерживать. Поэтому, если при выборе более безопасного варианта приложение не сможет осуществлять подключение, всегда можно вернуться и перейти на менее защищенный вариант.
На следующей странице укажите профили, к которым будет применено выбранное правило, установив рядом с каждым подходящим вариантом индикатор выбора («галочку») в соответствующей ячейке, и нажмите на кнопку «Далее» в подтверждение своего решения. На выбор пользователям представлено три возможных профиля, и можно отметить как один, так и все из следующих видов:
- Доменный: когда персональный компьютер подключен к контроллеру домена, операционная система «Windows» может аутентифицировать доступ к домену.
- Частный: персональный компьютер подключен к частной сети, например, к «Домашней сети» или сети, которой вы доверяете.
- Публичный: применяется в случае, когда персональный компьютер подключен к открытой общественной сети, например, в кафе, аэропорту или библиотеке, где любой может присоединиться, и безопасность вам неизвестна.
В заключительном окне присвойте новому правилу имя и дополнительно укажите, при желании, более подробное описание. Затем по окончанию, нажмите на кнопку «Готово», и правило с заданными параметрами будет создано.
В случае необходимости, пользователи могут отключить созданное или любое из доступных правил в любой момент. Отыщите требуемое правило в центральной панели главного окна, предварительно отметив раздел «Правила для входящих подключений» или «Правила для исходящего подключения» в левой боковой панели, щелкните его название правой кнопкой мыши и, во всплывающем контекстном меню, выберите из вариантов доступных действий раздел «Отключить правило», и команда будет исполнена незамедлительно.
На этом процедура по открытию порта в операционной системе «Windows 10» окончена.
Более подробно ознакомиться с возможными способами открытия или закрытия портов на персональном настольном компьютере или ноутбуке под управлением операционной системы «Windows 10» (и более ранних версий исполнения), методами проверки состояния всех доступных портов и порядком получения сведений об использовании портов каждой конкретной программой можно на нашем видеоканале в руководстве: «Как открыть, закрыть порты, узнать какие порты открыты на ПК с Windows 10, 8, 7 или роутере в 2019».
Полную версию статьи со всеми дополнительными видео уроками читайте в нашем блоге…
Блог проекта
Расскажите историю о создании или развитии проекта, поиске команды, проблемах и решениях
Написать
Личный блог
Продвигайте свои услуги или личный бренд через интересные кейсы и статьи
Написать