|
@@ -43,7 +43,7 @@ class Simple(resource.Resource): |
|
|
return html.encode('utf-8') |
|
|
return html.encode('utf-8') |
|
|
|
|
|
|
|
|
site = server.Site(Simple()) |
|
|
site = server.Site(Simple()) |
|
|
reactor.listenTCP(80, site) |
|
|
|
|
|
|
|
|
reactor.listenTCP(8000, site) |
|
|
reactor.startRunning(False) |
|
|
reactor.startRunning(False) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|