Telnet to the port sometime establishes connectivity too.
curl -v telnet://example.com:8000
Wonder whether ssh -verbose could work in a pinch? Haven’t tried it for non-ssh coms.
The whole point of course is not every protocol nor service provides a minimalistic/widespread way of testing for basic connectivity.
nc example.com 8080 -v -w 60