Skip to content Skip to sidebar Skip to footer

Twisted Python Server Port Already In Use

(using a mac by the way) I'm following this tutorial for building a twisted python socket server and everything is going great. the one issue I'm facing is I don't know how to turn

Solution 1:

Use netstat -nlp | grep 80 to find the process using the port 80.

Kill the process if possible by using kill -9 pid.

Or you can use another port like 12345.

factory = Factory()
factory.protocol = IphoneChat
factory.clients = []
reactor.listenTCP(12345, factory)

Post a Comment for "Twisted Python Server Port Already In Use"