netcat

# test whether you can connect to a specific port on a given host
nc -zv some.host.com 8080