Solution to failure of remote connection to jupyter

If you want to write jupyter on the server, you need to configure it, then access it remotely, and record the configuration process.

  1. First follow the blog written by this person.
  2. If the remote login fails, it means that this port is blocked by the firewall. You can do the following:
# iptables -I INPUT -i eth0 -p tcp --dport 8888 -j ACCEPT
# iptables  -I OUTPUT -o eth0 -p tcp --sport 8888 -j ACCEPT
# /etc/rc.d/init.d/iptables save
# service iptables restart
  1. Then it should be fine.

Guess you like

Origin blog.csdn.net/qq_39805362/article/details/107411760