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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cygwin VIM in WIndows 2007: Unable to copy text to Windows 10 70
Help needed with BIND9 DNS on Ubuntu. 22 102
App holding yum lock unable to update my rpm package 1 73
ifconfig 4 72
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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

821 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