INSTALLATION DOCUMENTS BY RAVI

Sunday, April 26, 2020

How to check whether port is open or not in Linux

Syntax:

echo > /dev/tcp/[host]/[port] && echo "Port is open"
echo > /dev/udp/[host]/[port] && echo "Port is open"


Example:

echo > /dev/tcp/172.16.11.45/7091 && echo "Port is open"
















 echo > /dev/tcp/172.16.11.45/7091 && echo "Port is open"

















No comments:

Post a Comment

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...