how do i open any port in a windows server 2019?

Anonymous
2023-08-21T10:12:54+00:00

Hi all,

I wanted to open some ports 389 and 5057 in windows server 2019.

I have tried created inbound tcp, udp and outboud tcp, udp port with both port number on windows firewall. But did not get any luck. I have also tried to disable the windows firewall. But not luck. Windows server has not antivirus installed on it.

Kindly suggest some action of plan.

Windows for business | Windows Server | Devices and deployment | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-08-22T05:31:24+00:00

    Hi Mithun Sharma1

    I suggest you check if the ports are already in use by running the following command in PowerShell:

    Get-NetTCPConnection -LocalPort 389

    If the command returns any results, it means that the port is already in use.

    If the ports are not in use, make sure that you are creating the rules for the correct network profile (public, private, or domain).

    If you are still unable to open the ports, you may need to check if there are any other firewalls or security software installed on the server that may be blocking the ports.

    Best Regards,

    Hania Lian

    1 person found this answer helpful.
    0 comments No comments