how to check a port is open on centos code example Example: show port list in centos # netstat -tulnp