Test connectivity for the web service: Difference between revisions

Jump to navigation Jump to search
Line 14: Line 14:
*# (after telnet-ed the web 80 port, key in) {{kbd_plus | key1 = get | key2 = SPACE}}<ref>[http://www.simplescripts.de/http-check-port-80-telnet-command.htm HTTP Check Port 80 with the Telnet Command]</ref>
*# (after telnet-ed the web 80 port, key in) {{kbd_plus | key1 = get | key2 = SPACE}}<ref>[http://www.simplescripts.de/http-check-port-80-telnet-command.htm HTTP Check Port 80 with the Telnet Command]</ref>


* curl: {{kbd | key = <nowiki>curl -v http://IP:Port</nowiki>}} or {{kbd | key = <nowiki>curl -v -o /dev/null http://IP:Port</nowiki>}}  
* curl<ref>[https://curl.se/docs/manpage.html curl - How To Use]</ref>: {{kbd | key = <nowiki>curl -vL http://IP:Port</nowiki>}}
** commands e.g.
*** (1) Write output to <file> instead of stdout using {{kbd | key = <nowiki>curl -voL https://www.google.com</nowiki>}}
*** (2) Write output to stdout using {{kbd | key = <nowiki>curl -vL https://www.google.com</nowiki>}} or {{kbd | key = <nowiki>curl -voL /dev/null https://www.google.com</nowiki>}}
*** (3) Write output to <file> with the remote file name using {{kbd | key = <nowiki>curl -vOL https://www.google.com/index.html</nowiki>}}
** If failed. It will show the message: "failed: Connection refused"
** If failed. It will show the message: "failed: Connection refused"
* Linux [https://www.gnu.org/software/wget/ wget] software e.g. {{kbd | key = <nowiki>wget https://www.google.com</nowiki>}}


* use the third-party website monitoring the services: [[Web Ping]]  
* use the third-party website monitoring the services: [[Web Ping]]  
Anonymous user

Navigation menu