Hi there,
You all know how to check TCP port connectivity from a Linux or UNIX machine to a remote machine using telnet as per th example below
$ telnet 127.0.0.1 25
but we can't adopt TELNET to check UDP connectivity.
Linux and most of the UNIXes come with a network layer utility called nc (abbreviation for netcat) which is very useful to check UDP connectivity and to explore a lot with both TCP and UDP.
An example is shown below
# nc -v -u -z -w 3 172.24.16.131 123
Connection to 172.24.16.131 123 port [udp/ntp] succeeded!
Subscribe to:
Post Comments (Atom)
AT&T USA | Internet not working | Fix by custom APN
If the AT&T Mobile internet is not working on your cellphone, it can be fixed easily by adding an APN configuration. You can read this a...
-
Hi there, You all know how to check TCP port connectivity from a Linux or UNIX machine to a remote machine using telnet as per th exampl...
-
Before you start Ensure that you have installed wvdial, usbmodeswitch and usbmodeswitch_data # dpkg -l | grep wvdial # dpkg -l | grep ...
-
1. Open Applications -> System -> Configuration Editor from the GUI OR Open a terminal, type gconf-editor 2. Go to "...
4 comments:
Nice one !!!
Hi,
It doasn't work under ubuntu!!
On a console I did:
root@gateway:~# nc -vv -u -l -p 123
listening on [any] 123 ...
On the other
root@xmg-pc:/tmp# nc -vv -z -u -w 3 localhost 123
root@xmg-pc:/tmp#
As you see nothing happen!!
Hi,
I do not understand -vv and -w.. The -w has nothing to along with -l option. Can you try without these options... And what is that localhost means. Are you trying locally on client machine xmg-pc? Try with gateway...
Post a Comment