This Blog is to share our knowledge and expertise on Linux System Administration and VMware Administration

Monday, October 16, 2017

How to check the UDP port is listening on Remote host?

The nc (or netcat) utility is used for just about anything under the sun involving TCP or UDP.  It can open TCP connections, send UDP packets, lis-ten on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6.

     nc - arbitrary TCP and UDP connections and listens

[root@nsk-linux ~]# nc -v -u -z -w 3 1-1024
Connection to 68 port [udp/bootpc] succeeded!
Connection to 631 port [udp/ipp] succeeded! Server IP (chane as per your needs)
1-1024    = Range of UDP ports

No comments:

Post a Comment