I'm using Debian7(Wheezy),the netcat verison is [v1.10-40].Use "nc -h" you can see the options have one column "-p port local port number".
I tried cinan's method.Now it worked :)
I'm using Debian7(Wheezy),the netcat verison is [v1.10-40].Use "nc -h" you can see the options have one column "-p port local port number".