windows - Check status of one port on remote host -
I need a command line that can check the status of the port on the remote host. I tried ping xxx.xxx.xxx.xxx:161
but it does not recognize the "host" I thought it was a "good" answer until I got the same command against the host I used to know that the harbor is open. This is a batch file on Windows that will check the status of the remote port, then run the command that uses that remote port for information, then the remote port check command again, use that command for that information Ports on the next server, and so on. I have seen everywhere and thought that Ping can do this, but different versions of Ping should be, I think the server I am doing on this does not show that option.
Just for Chuskale, I tried a web based remote port checker from a website - and the results were correct for both "server" and server server, though, with 500+ server IPS in it Can not use it in a batch run
Is there something that is that simple? My Pearl skills are extremely raucous (use it or lose it), except batch, do not know any other windows based languages Unix is my skill, but these widows should be executed from server 2003.
You are looking for a port scanner such as, or both, which are used by Windows, Linux, and Mac Available for OS X
For example, check Telnet on a known IP:
For example, from 20 to 30 on host.example.com Find open ports:
Nc -z host.example.com 20-30
Comments
Post a Comment