##// END OF EJS Templates
Made changes as per discussion in PR thread.
dkua -
Show More
@@ -473,10 +473,11 b' class NotebookApp(BaseIPythonApplication):'
473 if not self.ip:
473 if not self.ip:
474 warning = "WARNING: The notebook server is listening on all IP addresses"
474 warning = "WARNING: The notebook server is listening on all IP addresses"
475 if ssl_options is None:
475 if ssl_options is None:
476 warning += ", and not using any encryption"
476 self.log.critical(warning + " and not using encryption. This"
477 "is not recommended.")
477 if not self.password and not self.read_only:
478 if not self.password and not self.read_only:
478 warning += ", and not using authentication"
479 self.log.critical(warning + "and not using authentication."
479 self.log.critical(warning + ". This is highly insecure and not recommended.")
480 "This is highly insecure and not recommended.")
480 success = None
481 success = None
481 for port in random_ports(self.port, self.port_retries+1):
482 for port in random_ports(self.port, self.port_retries+1):
482 try:
483 try:
General Comments 0
You need to be logged in to leave comments. Login now