Sample Header Ad - 728x90

How to check if a web server is reachable in Linux?

0 votes
2 answers
5977 views
I want to poll every few minutes if an external web server is reachable from the Linux server. Assume the server is 10.20.30.40. I'm following this guide. https://www.baeldung.com/linux/hosts-network-availability The server is not pingable although it is reachable. Meaning ping will not succeed. Sadly netcat isn't installed. But I can telnet the server at port 443
Asked by achhainsan (543 rep)
Dec 11, 2023, 09:40 AM
Last activity: Dec 11, 2023, 10:05 AM