mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
support kubespawner running on a IPv6 only cluster
This commit is contained in:
@@ -342,7 +342,7 @@ class Service(LoggingConfigurable):
|
||||
env['JUPYTERHUB_SERVICE_PREFIX'] = self.server.base_url
|
||||
|
||||
hub = self.hub
|
||||
if self.hub.ip in ('0.0.0.0', ''):
|
||||
if self.hub.ip in ('', '0.0.0.0', '::'):
|
||||
# if the Hub is listening on all interfaces,
|
||||
# tell services to connect via localhost
|
||||
# since they are always local subprocesses
|
||||
|
Reference in New Issue
Block a user