##// END OF EJS Templates
better warning on non-local controller without ssh...
MinRK -
Show More
@@ -326,10 +326,10 class Client(HasTraits):
326 326 if location is not None:
327 327 proto,addr,port = util.split_url(url)
328 328 if addr == '127.0.0.1' and location not in LOCAL_IPS and not sshserver:
329 sshserver = location
330 warnings.warn(
331 "Controller appears to be listening on localhost, but is not local. "
332 "IPython will try to use SSH tunnels to %s"%location,
329 warnings.warn("""
330 Controller appears to be listening on localhost, but not on this machine.
331 If this is true, you should specify Client(...,sshserver='you@%s')
332 or instruct your controller to listen on an external IP."""%location,
333 333 RuntimeWarning)
334 334
335 335 self._config = cfg
General Comments 0
You need to be logged in to leave comments. Login now