Monday, August 21, 2023

How to check whether port is open or not ?

How to check whether port is open or not ?

(echo > /dev/tcp/192.168.1.75/1521) >/dev/null 2>&1 && echo "Port is open" || echo "Port is Closed"

No comments:

Post a Comment