The -p option is used for specifying source port nc should use in connect mode and can't be used together with -l option which specifies that nc should run in listen mode. So you need to run
nc -v -l -n 8080
For explanation of other options, please check nc man page.
The -p option is used for specifying source port nc should use in connect mode and can't be used together with -l option which specifies that nc should run in listen mode. So you need to run
For explanation of other options, please check nc man page.