I have to use SageMath for my studies and I'm annoyed because I can't open it anymore. Before, I had a MacBook Pro with M1 and normally I just clicked "Jupyter notebook from folder" in my SageMath 9.7 application and then it used to open the Jupyter Notebook in the browser and it worked fine, but now on the new computer I get this error ( Safari can't open the page "localhost:8888/tree? token= .... "because it could not connect to server "localhost")
I've tried uninstalling and reinstalling SageMath 9.7 (I'm using a 2021 MacBook Pro with M1 Pro), restarted my computer, tried different browsers, checked my firewall and it still doesn't work.
What's happening? How do I fix it? It's very important since they demand it from me at the university.