how to check for available port in centos code example Example: show port list in centos # netstat -tulnp