Curl test connection

curl for testing connectivity; just print errors and the status code:

curl --write-out '%{http_code}' -vv --max-time 30 --show-error --silent --output /dev/null http://1.2.3.4

Leave a Reply

Your email address will not be published. Required fields are marked *