def main(): ioloop = tornado.ioloop.IOLoop.instance() http_server = tornado.httpserver.HTTPServer(Windseed()) http_server.listen(8000, 'localhost') ioloop.start()