Checking / Pinging a Port

Ports are a concept of UDP and TCP. Ping messages are technically referred to as ICMP Echo Request and ICMP Echo Reply which are part of ICMP. ICMP, TCP, and UDP are "siblings"; they are not based on each other, but are three separate protocols that run on top of IP. Therefore you can not ping a port. What you can do, is use a port scanner like nmap.

$ nmap -p 80 mruckman.com

You can also use:

$ telnet mruckman.com 80

It will give an error if the port is closed or filtered

---

telnet 10.194.55.47 11222
nmap -p 11222 10.194.55.47

$ nmap -p 11222 10.194.55.47

Starting Nmap 6.40 ( http://nmap.org ) at 2015-07-08 06:09 PDT
Nmap scan report for haldevcache01.hq.halw.com (10.194.55.47)
Host is up (0.23s latency).
PORT STATE SERVICE
11222/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 0.60 seconds

# Sign onto server itself
$ netstat -ntpl | grep 11222