Check the URL is alive or dead with port number

Hi,
I am running certain weblogic instance, in which it's hard to find which instance is stopped or running after stopping the weblogic , cause process status is for all the instance is same.
A URL which shows the instance is stopped or running.
But i have major challenge to check it through unix, cause it's having the port number and ping is not supporting it.

 
ping -c4 my_url.com port_no

is not working for me.
Any other command does do the same job to check .

Thanks

ping is ICMP, not related at all to ordinary TCP network connections.

Since it's a URL, try wget:

if wget -q http://server:port -O /dev/null
then
        echo "server:port is alive"
else
        echo "server:port is dead"
fi

Correct.
Or use --spider with wget:

       --spider
           When invoked with this option, Wget will behave as a Web spider, which means that it will not download the pages, just check that they are there.