I had a RaspberryPi set up for a local jupyter notebook server, and a local minecraft server, where it was all running fine for about half a week, before I decided to get a new network router. Now it's refusing jupyter notebook connections, and more.
I reset my RaspberryPi, because I'm using wireless network, and headless setup. I can connect to the RaspberryPi all fine with SSH after the reset, and I can host a jupyter server, but when I try to connect to the server in my browser, it says "RaspberryPi refused to connect.", and in the console on my main PC it says:
[I 2024-04-03 20:36:16.511 JupyterNotebookApp] 302 GET /tree? (@192.168.1.231) 1.47ms [W 2024-04-03 20:37:14.869 ServerApp] Clearing invalid/expired login cookie username-raspberrypi-8888
(It's the same with the local minecraft server, I can host it, but I can not connect to it.)
Port 22 is open to the RaspberryPi, as seen here:
*****@raspberrypi:~ $ sudo lsof -i -n -P | grep LISTENsshd 815 root 3u IPv4 6348 0t0 TCP *:22 (LISTEN)sshd 815 root 4u IPv6 6350 0t0 TCP *:22 (LISTEN)
I tried to manually add my ip to /.ssh/known_hosts, to see if that would do anything, but it still says connection refused, as seen here:
>ssh-keyscan -H 192.168.1.231 >> ~/.ssh/known_hostswrite (192.168.1.231): Connection refusedwrite (192.168.1.231): Connection refusedwrite (192.168.1.231): Connection refused
I don't really know how to proceed, I'm thinking it has something to do with the new router, but honestly I'm quite lost, as this is my first time using a RaspberryPi