I switched my Angular/Springboot application over to https. Now when trying to make a POST to the backend using “https://localhost:8443/test” it doesn’t work (POST https://localhost:8443/test net::ERR_CONNECTION_REFUSED
“Http failure response for https://localhost:8443/test: 0 Unknown Error”). However when I use the machines IP address (for example the IP is 192.168.222.100) and I make the POST to “https://192.168.222.100:8443/test” it works. Why? And what needs to be changed so it works by just using localhost? I have set the @CrossOrigin accodringly in my controller and set up the ressourceHandler also accordingly.