Running Jyputer Notebooks on Slurm Clusters

Does anyone have experience in running jupyter on clusters with slurm?
I do ssh tunneling with port forwarding, so for ssh I run following command:

ssh username@cluster.edu -L 8888:127.0.0.1:8888

in slurm whether I use sbatch or srun when jupyter runs and I copy paste the URL it say:

channel 3: open failed: connect failed: Connection refused