Kousalya Kanikannan
Kousalya Kanikannan

Reputation: 81

Linux command to make a port to listen

I tried this command nc -l "port number". But it is not working out for my test. Can anyone let me know which command should i use.

Upvotes: 2

Views: 25943

Answers (1)

Rupesh
Rupesh

Reputation: 1748

Try to use non listening port which is greater than 1024. Let us try with below command

 nc -lp 2468

Upvotes: 3

Related Questions