Describes how to enable the port number used by the watchdog process when you enable the Windows Firewall feature.
Windows Server(R) 2016:
In the [Windows Firewall] window, click [Advanced settings] on the left side of the window.
In the [Windows Firewall with Advanced Security] window, click [Inbound Rules] on the left side of the window.
Click [New Rule] on the right side of the window.
In the [New Inbound Rule Wizard] window, select [Port], and then click [Next].
Select [TCP] and [Specific local ports], then specify the "port number on which the watchdog process accepts connections for life-and-death monitoring from the conmgr process (watchdog.port)" defined in postgresql.conf in the text box, and then click [Next].
Select [Allow the connection], and then click [Next].
Select the profiles for which this rule applies, and then click [Next].
In [Name], specify the desired name(ex: Connection Manager), and then click [Finish].
In the [Windows Firewall with Advanced Security] window, check if the added rule is enabled under [Inbound Rules] in the center of the window.
Other than above:
In the [Windows Defender Firewall] window, click [Advanced settings] on the left side of the window.
In the [Windows Defender Firewall with Advanced Security] window, click [Inbound Rules] on the left side of the window.
Click [New Rule] on the right side of the window.
In the [New Inbound Rule Wizard] window, select [Port], and then click [Next].
Select [TCP] and [Specific local ports], then specify the "port number on which the watchdog process accepts connections for life-and-death monitoring from the conmgr process (watchdog.port)" defined in postgresql.conf in the text box, and then click [Next].
Select [Allow the connection], and then click [Next].
Select the profiles for which this rule applies, and then click [Next].
In [Name], specify the desired name(ex: Connection Manager), and then click [Finish].
In the [Windows Defender Firewall with Advanced Security] window, check if the added rule is enabled under [Inbound Rules] in the center of the window.