Перейти к содержимому

Как открыть порты на windows server 2016

  • автор:

Opening Ports on the Windows Firewall

Opening Ports on the Windows Firewall With GUI/CMD/PowerShell

Opening Ports on the Windows Firewall Using GUI

To open a port in the firewall using the GUI in Windows Server 2008/2012 R2 and Windows Server 2016, follow the below steps:

  1. Login using an administrator account.
  2. Click Start > Administrative Tools > Windows Firewall with Advanced Security

Open Port

  1. Click on Inbound Rules , and then on New Rule

New Rule
The wizard to open a port and accept incoming connections has five steps: Rule Type , Protocol and Ports , Action , Profile , and Name . For this example, we will open TCP port 20002 on servers that are running the Parallels RAS Publishing Agents role:

In the Rule Type section, select Port and click Next: Rule Type

In the Protocol and Ports section, select TCP as the type of protocol and type 20002 in the Specific local ports input field: Protocol

In the Action section, select Allow the Connection and click Next. Action

In the Profile section, select all three options and click Next. If you wish to limit the connection to a particular profile, you can do so by selecting only the profiles you think are appropriate to your setup. For this example, we will open the port on all profiles. Profile

In the Name section, enter a descriptive name for this rule. It is recommended to list the port number in the name, so the rule is easily recognizable. For example, name the new rule Pub_Agent_20002_IN. Click Finish when ready. Name

To open additional ports, repeat the above procedure for each additional port and/or protocol you’d like to open in each server.

Opening Ports on the Windows Firewall Using Command Line (netsh)

To open a port on the Windows Firewall using the netsh command line, follow the below procedure:

  1. Login to the server using an administrator account.
  2. Run the Command Prompt as Administrator.
  3. Execute the following command to open the TCP port 20002 on the servers running the Publishing Agents role:

To open additional ports, repeat the above procedure for each additional port and/or protocol you’d like to open in each server.

Opening Ports on the Windows Firewall Using PowerShell

To open a port in the Windows Firewall using PowerShell commands, follow the below procedure (applies only for 2012 R2 and 2016 Windows Server OS):

  1. Logon using an administrator account.
  2. Run the Windows PowerShell as Administrator.
  3. Execute the following command to open the TCP port 20,002 on the servers running the Publishing Agents role:

How to Open Ports in Firewall on Windows Server 2016?

The following article will assist you to open ports in Firewall on Windows VPS with Windows Server 2016 operating system.

1. Go to Start >> Windows Administrative Tools >> Windows Firewall With Advanced Security.

Start Windows

Windows Firewall

2. At Windows Firewall With Advanced Security, click on Inbound Rules.

Firewall Inbound

3. Click on New Rule at the right-hand side panel.

New Rule

4. At New Inbound Rule Wizard, Select the Port radio button and click Next.

Port

5. Select TCP/UDP & specify the port you wish to open in the Specific Local Ports box OR check All local ports & click Next.

Specified Port

6. Select Allow the connection & click Next.

7. Select the area where you want to apply this rule and click Next.

Profile

8. Provide the Name & Description for the newly created rule & click Finish.

Rule Name

9. The new rule will reflect in Windows Firewall With Advanced Security.

Sorry, you have been blocked

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

Cloudflare Ray ID: 7f05769b8902c212 • Your IP: Click to reveal 178.132.111.46 • Performance & security by Cloudflare

Как открыть порты на windows server 2016

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this in the future?

If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

Another way to prevent getting this page in the future is to use Privacy Pass. You may need to download version 2.0 now from the Chrome Web Store.

Cloudflare Ray ID: 71a99d4fcecd9107 • Your IP : 82.102.23.104 • Performance & security by Cloudflare

Как открыть порты на windows server 2016

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this in the future?

If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

Another way to prevent getting this page in the future is to use Privacy Pass. You may need to download version 2.0 now from the Chrome Web Store.

Cloudflare Ray ID: 71a99d565e61b975 • Your IP : 82.102.23.104 • Performance & security by Cloudflare

Configure a Firewall for Report Server Access

Доступ к приложениям сервера отчетов Reporting Services и опубликованным отчетам производится по URL-адресам, которые состоят из IP-адреса, номера порта и имени виртуального каталога. Если включен брандмауэр Windows, то порт, на который настроен сервер отчетов, скорее всего, закрыт. Обычно это выражается в том, что при обращении с удаленного клиентского компьютера к веб-порталу отображается пустая страница либо при запросе отчета открывается пустая веб-страница.

Открыть порт можно при помощи брандмауэра Windows на компьютере сервера отчетов. Службы Reporting Services не открывают порты автоматически, этот шаг необходимо выполнить вручную.

По умолчанию сервер отчетов слушает HTTP-запросы для порта 80. Следующие пошаговые инструкции позволяют настроить порт. Если URL-адреса сервера отчетов настроены на другой порт, при выполнении описанных ниже инструкций необходимо указывать его номер.

При обращении к реляционным базам данных SQL Server на внешних компьютерах или в случае, если база данных сервера отчетов находится на внешнем экземпляре SQL Server , необходимо открыть порт 1433 и 1434 на внешнем компьютере. Дополнительные сведения о брандмауэре Windows см. в статье Настройка брандмауэра Windows для доступа к компоненту Database Engine. Дополнительные сведения о настройках брандмауэра Windows по умолчанию и описание портов TCP, влияющих на компоненты Компонент Database Engine, Службы Analysis Services, Службы Reporting Servicesи Службы Integration Services, см. в разделе Настройка брандмауэра Windows для разрешения доступа к SQL Server.

Предварительные требования

Выполнение следующих инструкций предполагает, что создана база данных сервера отчетов, настроена учетная запись службы и URL-адреса веб-портала и веб-службы сервера отчетов. Дополнительные сведения см. в разделе Управление сервером отчетов служб Reporting Services в собственном режиме.

Кроме этого, необходимо проверить доступность экземпляра сервера отчетов из веб-браузера через локальное соединение. Этот шаг необходим для проверки работоспособности установки. Прежде чем приступать к открытию портов, необходимо проверить правильность настройки установки. Чтобы выполнить этот шаг в Windows Server, потребуется также добавить сервер отчетов к доверенным сайтам. Дополнительные сведения см. в разделе Настройка сервера отчетов, работающего в основном режиме, для локального администрирования (SSRS).

Открытие портов в брандмауэре Windows

Открытие порта 80

В меню Пуск выберите Панель управления, Система и безопасностьи Брандмауэр Windows. Если на панели управления не включено представление по категориям, сразу выберите Брандмауэр Windows.

Нажмите кнопку Дополнительные параметры.

Выберите Правила для входящих подключений.

Выберите Создать правило в окне Действия.

Выберите Тип правила в разделе Порт.

Щелкните Далее.

На странице Протокол и порты выберите TCP.

Выберите Указанные локальные порты и введите значение 80.

Щелкните Далее.

На странице Действие выберите Разрешить соединение.

Щелкните Далее.

На странице Профиль выберите необходимые параметры для среды.

Щелкните Далее.

На странице Имя введите имяReportServer (TCP через порт 80) .

Нажмите кнопку Готово.

Дальнейшие действия

После открытия порта, прежде чем удаленные пользователи смогут производить доступ к серверу отчетов, им необходимо предоставить доступ к корневой папке и на уровне сайта. Даже если порт правильно открыт, пользователи не смогут соединяться с сервером отчетов, если им не предоставлены необходимые разрешения. Дополнительные сведения см. в статье Предоставление пользователям доступа к серверу отчетов.

Правильность открытия порта можно также проверить, открыв веб-портал с другого компьютера. См. подробнее о веб-портале сервера отчетов.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

From $34/Day — Car Rental HPN With Zero Terminal Shuttle