Hi, i have opened the port using power shell command and it got sucess but when i test using the command tnc localhost port number but its getting fail need help on the same.

Anonymous
2024-07-28T09:21:53+00:00

Hi,

have opened the port using power shell command (New-NetFirewallRule -DisplayName 'Port' -Profile @('Domain', 'Private' , 'Public') -Direction Inbound -Action Allow -Protocol TCP -LocalPort 5095)

and it got success but when i test using the command tnc localhost port 5095 its getting fail need help on the same.

tested with telnet : >telnet 192.168.3.98 5095

Connecting To 192.168.3.98...Could not open connection to the host, on port 5095: Connect failed

Windows for business Windows Server Networking Network connectivity and file sharing

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
    2024-07-29T08:46:31+00:00

    Hello,

    It is recommended that you open the Group Policy and refer to the following to see if the set firewall rules are effective.

    Use the Win+r shortcut key to enter gpedit.msc to open the Group Policy Editor and navigate to the location shown below.

    A screenshot of a computerDescription automatically generated

    In Settings, this "Apply local firewall rules" configuration item determines: after the various stacking/exiting rules are configured and pushed in the group policy, whether the additional customized "rules" on the local firewall can also be applied and effective.

    A screenshot of a computerDescription automatically generatedI hope the information above is helpful.

    Best regards

    Zunhui

    0 comments No comments