Hey! I had the same issue with srun 打開 jupyter notebook on my cluster. What worked for me was adding `--ip=0.0.0.0` to the jupyter command. So it looks like this:
`srun --pty --nodes=1 --ntasks=1 --cpus-per-task=4 --mem=8G jupyter notebook --no-browser --port=8888 --ip=0.0.0.0`
Also, yeah, you’ll need to forward the port. Use `ssh -L 8888:localhost:8888 your_username@cluster_address`. Hope this helps!
`srun --pty --nodes=1 --ntasks=1 --cpus-per-task=4 --mem=8G jupyter notebook --no-browser --port=8888 --ip=0.0.0.0`
Also, yeah, you’ll need to forward the port. Use `ssh -L 8888:localhost:8888 your_username@cluster_address`. Hope this helps!
