I'm trying to understand why netcat is listening on any address. Here is the command I give and the response I get
# nc -l -p 9500 -vvu 172.24.176.221 9500 Warning: Inverse name lookup failed for `172.24.176.221' Listening on any address 9500
A few things to note:
- I'm running this command on a custom board and at the moment cannot upgrade my netcat.
- Here is the output of
netcat (The GNU Netcat) 0.7.1 Copyright (C) 2002 - 2003 Giovanni Giacobbi This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Original idea and design by Avian Research <email@example.com>, Written by Giovanni Giacobbi <firstname.lastname@example.org>.
- Here is the output of my
Linux bpu-modem-21 4.14.0-xilinx-v2018.2 #1 SMP PREEMPT Thu Nov 8 15:48:00 PST 2018 armv7l armv7l armv7l GNU/Linux
4.Here is the output of my
The question is: how do I make netcat to listen on a specific address?