We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c999355 commit 0d6ffa6Copy full SHA for 0d6ffa6
notebook/base/handlers.py
@@ -436,8 +436,12 @@ def check_host(self):
436
allow = addr.is_loopback
437
438
if not allow:
439
- self.log.warning("Blocking request with non-local 'Host' %s (%s)",
440
- host, self.request.host)
+ self.log.warning(
+ ("Blocking request with non-local 'Host' %s (%s). "
441
+ "If the notebook should be accessible at that name, "
442
+ "set NotebookApp.allow_remote_access to disable the check."),
443
+ host, self.request.host
444
+ )
445
return allow
446
447
def prepare(self):
0 commit comments