Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Check server status remotely with a perl script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Check server status remotely with a perl script
Authored by: gaoshan on Mar 05, '06 11:27:26PM
Doing nc and adding an extra -v or 2 for verbosity...i.e.
nc -vvvz 192.168.1.1 1-80
results in some pretty decent info. You get something like the following:
(UNKNOWN) [192.168.1.1] 80 (http) open
(UNKNOWN) [192.168.1.1] 79 (finger) : Connection refused
(UNKNOWN) [192.168.1.1] 78 (vettcp) : Connection refused
(UNKNOWN) [192.168.1.1] 77 (?) : Connection refused


[ Reply to This | # ]