Any ideas why nc
is not showing anything when ran on a busybox based container image?
The problem appears when trying to connect to port on 127.0.0.1
/localhost
.
/app # nc -v 127.0.0.1 12345
/app # nc -v localhost 12345
/app # nc
BusyBox v1.35.0 (2022-08-01 15:14:44 UTC) multi-call binary.
Usage: nc [OPTIONS] HOST PORT - connect
nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen
...
What I would expect is to see if nc
has connected or not. On normal Ubuntu the command outputs successful or unsuccessful connections like below. On busybox I don't know what happened because nothing is outputted.