Netcat not able to bind a listening socket

Solution 1:

For netcat in listen mode you should use -p flag to choose listening port, e.g. nc -vvv -l -p 5349.

the second error: nnetfd reuseport failed : Protocol not available is related to SO_REUSEPORT socket option. It was introduced in linux kernel version 3.9 and netcat version using it will not work with earlier kernel release. You can either upgrade your kernel to more recent version or use another variation of netcat. I believe netcat-openbsd should work.