Monday, August 19, 2024

Temporarily enable listening on a port on Linux

 To validate if a firewall access to specific port is accessible for remote connections or not can be validated as below.

On remote Linux machine run command "nc -l 14240", this will temporarily starts listening on the said port for a short duration.

If you want to persist then use "nc -L 14240"

Validate from your local Windows machine or another Linux server as described in post https://bypramod.blogspot.com/2024/08/telnet-alternative.html


***

No comments:

Post a Comment