Use netcat to check udp port status
Damn you, Windows. You’ve conditioned me to use telnet for network connectivity checks instead of superior tools like netcat (which supports UDP ports).
I nearly forgot this one so I thought I’d write it down:
nc -vzu <ip address> <udp port or port range>
- -v enables verbose mode for easier feedback.
- -z scans for listening daemons without sending any data to them.
- -u uses UDP instead of TCP.