tcping

Test TCP connectivity to a host and port with ping-like output

brewmacoslinux
Try with needOr install directly
Source

About

TCP connect to the given IP/port combo

Commands

tcping

Examples

Test connectivity to a web server on port 80$ tcping example.com 80
Test HTTPS connectivity with 5 attempts$ tcping -c 5 example.com 443
Test connectivity to a database server with 2 second timeout$ tcping -t 2000 192.168.1.100 3306