author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
cynthn |
virtual-machines |
include |
10/26/2018 |
cynthn |
In this step, you create a firewall rule to open the probe port for the load-balanced endpoint (59999, as specified earlier) and another rule to open the availability group listener port. Because you created the load-balanced endpoint on the VMs that contain availability group replicas, you need to open the probe port and the listener port on the respective VMs.
-
On VMs that host replicas, start Windows Firewall with Advanced Security.
-
Right-click Inbound Rules, and then click New Rule.
-
On the Rule Type page, select Port, and then click Next.
-
On the Protocol and Ports page, select TCP, type 59999 in the Specific local ports box, and then click Next.
-
On the Action page, keep Allow the connection selected, and then click Next.
-
On the Profile page, accept the default settings, and then click Next.
-
On the Name page, in the Name text box, specify a rule name, such as Always On Listener Probe Port, and then click Finish.
-
Repeat the preceding steps for the availability group listener port (as specified earlier in the $EndpointPort parameter of the script), and then specify an appropriate rule name, such as Always On Listener Port.