python - How do you run the Tornado web server locally? - Stack Overflow
Thu Jan 27 2022 03:33:54 GMT+0000 (Coordinated Universal Time)
Saved by
@ericblancosf
application = tornado.web.Application([
(r'/blah', BlahHandler),
], **settings)
# Create an HTTP server listening on localhost, port 8080.
http_server = tornado.httpserver.HTTPServer(application)
http_server.listen(8080, address='127.0.0.1')
content_copyCOPY
https://stackoverflow.com/questions/11094920/how-do-you-run-the-tornado-web-server-locally
Comments