equivalent of MS portquery for Linux & HP-UX to check Udp connectivity

Posted on 2010-11-07
Last Modified: 2012-05-10


To test if the firewall permissioned for a certain port (in my case, I need to test
for Udp port being permissioned), I would use portquery on the initiating node.

For Windows & Unix, I can use "telnet destination_IP port" to test tcp port
connectivity.  WHat about udp port on Linux & HP-UX ?
Question by:sunhux
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

nimda7 earned 200 total points
ID: 34081590
Try "netcat"

nc -zu <ip> <udpport>

-u    UDP mode
-z    zero-I/O mode [used for scanning]
LVL 17

Assisted Solution

sweetfa2 earned 150 total points
ID: 34081612
nmap -p port -sU hostaddress

Author Closing Comment

ID: 34118325

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question