Solution DetailsDate: 12/2007
Affected NV Version: ALL
OS Version: Windows
Plugin version: N/A
Application version: N/A
Description:
When you run this command from a Windows machine, it connects to to specified IPHOST machine which can be any machine or any OS using netsh to test and inform if the given port is open on the target machine.
Symptoms:
You want to check the check if a given port is open in a target machine without loging in to the machine or using many steps.
1. To check to see a specific port is opened in another machine (port 20031 for example), use the following command.
netsh diag connect iphost << netsh diag connect iphost schnappy 20031
C:\>netsh diag connect iphost maclappy 20031
IPHost (maclappy)
IPHost = maclappy
Port = 20031
Server appears to be running on port(s) [20031]
C:\>
This example shows that the target machine maclappy has the port 20031 opened.
If the result shows a [NONE] is an indication that the port 20031 is closed.
This command can be used to find opened ports in any machine anywhere and any OS.
for Example:
The command netsh diag connect iphost microsoft.com 80 shows that the iphost microsoft.com has the port 80 opened.
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy