Hi,
I'm trying to change ip on which is working tornado, I have ready solution which uses tornado and it's calling it like this
app = tornado.web.Application(
handlers,
template_path=os.path.join(web_root, 'templates'),
static_path=os.path.join(web_root, 'static'),
debug=True,
cookie_secret=helper.random_string_generator(20),
xsrf_cookies=True,
autoreload=False,
log_function=self.log_function,
login_url="/",
default_handler_class=My404Handler,
default_host="[my:ipv6:addr:used:in:dns]")
self.http_server = tornado.httpserver.HTTPServer(app, ssl_options=cert_objects)
self.http_server.listen(port_number)
tornado.locale.load_translations(os.path.join(web_root, 'translations'))
self.ioloop = tornado.ioloop.IOLoop.instance()
self.ioloop.start()
it seems to be working on ipv4 loopback 127.0.0.1 address and itsn't accessible via ipv6 address.