I Used The Nmap
command You should download and install it 1st from http://nmap.org
nmap -p8080 IPaddress
Question
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.
00.00.00.00:8080
it give me could not find local host00.00.00.00:8080
it give me bad parameter
and I cant use the www ping cause its localI 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.
Solution
I Used The Nmap
command You should download and install it 1st from http://nmap.org
nmap -p8080 IPaddress
OTHER TIPS
why you are pinging 00.00.00.00 ??
try this
ping localhost