I’m trying to run a notebook remotely. I’m on a Mac, and running
jupyter notebook --ip=0.0.0.0
on the remote, followed by
ssh user@remote -L8888:<ip>:8888
allows me to view http://0.0.0.0:8888/?token=<token>
and works fine for me! However, from Windows, this local URL results in an error:
This site can’t be reached
The web page at http://0.0.0.0:8888/?token=<token> might be temporarily down or it may have moved permanently to a new web address.
ERR_ADDRESS_INVALID
It does work if Windows users (connecting using MobaXTerm) go to http://localhost:8888/?token=<token>
instead. I can also use localhost
, and can connect successfully.
If I change the initial command to jupyter notebook --ip=localhost
, then when I try and connect to either http://0.0.0.0:8888/?token=<token>
or http://localhost:8888/?token=<token>
, then I get an error
This site can’t be reached
The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_RESET
and
channel 3: open failed: connect failed: Connection refused
in my terminal.
So, although I can create instructions that work for both Mac and Windows users, I’d really like a method where all users can copy the entire URL from the original jupyter notebook command, rather than specifying a different localhost domain depending on OS. Is this possible?