Can't connect - The connection is down or something is blocking it

I got it working.
My issue was that I installed ufw as a firewall protection, and I didn’t know that endeavourOS had firewalld built in it. I removed both of them and its working now.
Huge thanks for helping, sorry for taking your time.