Jupyter notebook This site can’t be reached - ipython

Every time I launch the Jupyter notebook using
jupyter notebook
I get a
Connection refused: localhost:8888
I have to replace localhost with 127.0.0.1 for it to work.
While 127.0.0.1 notebook is messed up
This occurs with all browsers I use:
How to solve this problem?

Related

VsCode dropping ssh connections frequently with remote server

I'm facing a weird problem after connecting with the remote host using ssh in VSCode, the editor lost the connection after some seconds with the remote server (in this case a droplet in Digital Ocean). But when I open an ssh connection with the remote server using my local terminal instead of my local VSCode of my I do not see the same thing happen, in the terminal the connection keep alive for minutes, as expected.
Perhaps an ssh config on a remote server? I don't think so because using the terminal the problem doesn't occur.
So, what fix I can apply to my local VSCode configuration to stop this behaviour?

Issue with REMOTE-SSH into vagrant using VSCode (Mac)

I am trying to follow this link to try connecting into my vagrant vm box with VSCode in Mac Catalina. But every time I am getting "could not establish connection with default".
The link said to copy the 'vagrant ssh-config' results to ~/.ssh/config. Before I did this, the ~/.ssh folder was empty.
The content of the config file copied from 'vagrant ssh-config' is as follows:
Host default
HostName 127.0.0.1
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/stewartty/udacity-courses/fullstack/vagrant/.vagrant/machines/default/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL
Host vagrant
HostName vagrant
User vagrant
In VSCode, I installed the Remote-SSH extension. Then I followed exactly to the word as laid out in the link (open command palette and select the ./ssh/config file AND again, open command palette and select 'Remote SSH: Connect to Host... and select 'Default').
Check your vagrant IP.
most of the time has your inet range ip, to see the virtual machine
ifconfig | grep inet
Refer to the Vagrantfile network section
I made a rookie mistake - I should have run vagrant up first before trying to remote-ssh using VSCode. I’ve had no problem remoting after running vagrant up.

Get 101 (reset connection) error when connect to the remote jupyter via browser (ssh tunnel established via Putty)

I run jupyter on remote machine, establish ssh tunnel via putty and can't connect from local machine, because I get 101 error. How to fix it?

eclipse debug can not connect to VM

Eclipse remote debug: can not connect to VM.
After starting tomcat,
telnet localhost 8787
works.
Then in eclipse, I tried to enable remote debug, got error: can not connect to VM.
telnet localhost 8787
will not work anymore.
What is the problem? It suddenly stopped working without any reason.
Thanks.

ipython notebook server behind VPN

Hi I am trying to set up a ipython notebook server at a machine at my school and access from outside the network
I can ssh to the machine after connecting to the school VPN.
I set up the ipython notebook to listen to all the ip address. I can open chrome/firefox to connect to it within the network.
The IPython Notebook is running at: http://[all ip addresses on your system]:9999/
But I can't access the notebook from outside the network (even with VPN)?
Try adding [all ip addresses on your system] to your VPN whitelist, typically is 127.0.0.1 or localhost. If this still does not work, check if you are using global mode of your VPN which might overlook the whitelist config.