Frage

I am trying to make a batch file to ping my local web server and check wither its up or not
we have a tomcat web server its port is 8080.

  • when I try to ping 00.00.00.00:8080 it give me could not find local host
  • and when I try to ping 00.00.00.00:8080 it give me bad parameter and I cant use the www ping cause its local

I have even tried telnet but telnet need interaction to check for the web server status
and I need it to be automatic cause I will edit it to send mails with the server status.

War es hilfreich?

Lösung

I Used The Nmap command You should download and install it 1st from http://nmap.org

nmap -p8080 IPaddress

Andere Tipps

why you are pinging 00.00.00.00 ??

try this

ping localhost

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top