1 Answer
- Newest
- Most votes
- Most comments
0
It sounds like the Jupyter container might not be starting up properly after the Ubuntu server reboots. Here are a few things you can check:
- Check the container logs: After running the container, try running docker logs <container name> to see if there are any error messages that might indicate why Jupyter is not starting up properly.
- Check the Jupyter configuration: Make sure that the Jupyter configuration file is set up correctly, and that the correct IP address and port are specified. You can check the configuration file by exec'ing into the container and running jupyter notebook --generate-config.
- Check the firewall settings: It's possible that the firewall settings on the Ubuntu server are blocking incoming connections on port 8888. You can check the firewall settings by running sudo ufw status.
- Check the Docker network configuration: Make sure that the Docker network is set up correctly and that the container is attached to the correct network. You can check the Docker network settings by running docker network inspect <network name>.
- Try using a different port: It's possible that there is a conflict with another service running on port 8888. Try using a different port, like 8889, and see if you can connect to Jupyter on that port.
Hopefully one of these suggestions will help you diagnose the issue!
answered a year ago
Relevant content
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
Hi there. Many thanks for your guidance. For each step I compared a fresh EC2 Ubuntu instance where Jupyter is still accessible from a remote client browser against an instance which has been rebooted and where Jupyter is no longer accessible from a remote client browser. Results of each step:
I wonder if there is a Docker or Ubuntu process/service that needs to be re-run after a server reboot? I have tried sudo service docker restart to no avail as well as restarting the container after running.