I have searched for a solution but could not find one. I want to connect to my server (pc) through localhost on port 8080 from another machine (laptop). I’ve tested few services (ollama, angular, spring), also tried access my pc from laptop. I disabled the firewall, and my netstat output is:
tcp6 0 0 :::8080 :::* LISTEN
curl output:
❯ curl http://localhost:8080
curl: (7) Failed to connect to localhost port 8080 after 0 ms: Couldn't connect to server
I don’t know, if it’s related but I can’t block some domanes in my /etc/hosts