[Twisted-web] How to free port 8080?

Marco Giusti marco.giusti at gmail.com
Sat Dec 30 20:33:52 CST 2006

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

reply to `python -c "print 'moc.liamg at itsuig.ocram'[::-1]"`
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20061231/147ab831/attachment.pgp

More information about the Twisted-web mailing list