Really handy TCP port ping command with Python and Bash only.

I use this command so much when negotiating whether network, and firewalld, rules are configured that I felt obligated to post it.  If you need to ping a remote server TCP port then this is the command for you. I have test this on Red Hat Enterprise Linux, since that is what I use at work.  It should work on Ubuntu as well.

The command


portping <ip address> <port>


portping 123.456.789.1 8500


Leave a Reply

Your email address will not be published. Required fields are marked *