Connectivity Test of URL with port number
<p>Need to test a URL with port number from unix whether it is reachable or not:
servername:portnumber/index</p>

<p>Need to return from the command, to know whether the URL was active or not.</p>