On Sun, Dec 31, 2006 at 10:20:45AM +0800, Steve Han wrote:
I have deleted all .tap files in the work directory(a *.tap would use 8080?),then "mktap telnet -p 8080 ..." and "twistd -f telnet.tap",testing on "telnet localhost 8080" get message as the following: ...... 2006/12/30 14:31 CST [-] twisted.internet.error.CannotLi stenError: Couldn't listen on any:8080: (98, 'Address already in use').
How to free the port 8080?
deleting all *.tap you cannot kill the process that is using that port.
$ netstat -tp | grep 8080
see which process/pid id using that port and then kill it
$ kill xxxx