<br><br><div class="gmail_quote">On Sun, Oct 30, 2011 at 13:07, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sun, Oct 30, 2011 at 12:58 PM, MinRK <<a href="mailto:benjaminrk@gmail.com">benjaminrk@gmail.com</a>> wrote:<br>
> I did not write this code, it was Brian. I will look into it, to see why<br>
> ws-hostname does not allow the right connections.<br>
> This is also related to why tunneling doesn't work - the ws url is<br>
> explicitly defined by the server, and completely ignores<br>
> the path of the original connection. So even if you tunnel local 9999 to<br>
> your server's 8888 and you can view the notebook<br>
> on local 9999, the ws connection will try on local 8888 and fail.<br>
> We will have to ask Brian about why the ws connection does not follow the<br>
> rest of the server.<br>
<br>
</div>OK. For now at least with SSL and passwords the need to tunnel is<br>
less, but it would be nice to sort this out before release. I'm right<br>
now updating our docs with a small howto section on setting up<br>
SSL/password access for anyone wanting to run a public server.<br></blockquote><div><br></div><div>Sure - tunnel for security is no longer necessary, but tunnel for accessibility is still useful (e.g. server on a workstation that does not have a public IP).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Now, if the local and remote tunnel ports are the same, does that<br>
work? Or is it still broken because of the ws-hostname issue?<br></blockquote><div><br></div><div>if host and ports match (localhost-localhost tunnel, which is probably most common anyway) then it works.</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Cheers,<br>
<font color="#888888"><br>
f<br>
</font></blockquote></div><br>