I have a problem to send requests to the backend of my project, I already tried deactivating the firewall and proxy but did not get results. As far as I can see, there is a port through which my request passes first and it doesn't let me get to the backend.
I already tested with cURL by console and Postman but there was no result. By console I get this error:
curl: (7) Failed to connect to localhost port 1080: Connection refused
The project is made in Java with Spring and I use webservices.
Here is an example of my request:
curl http://localhost:9081/auth/login/
And this is the result request
curl: (7) Failed to connect to localhost port 1080: Connection refused
What can i do?
Check if you have env variable HTTP_PROXY set. In My case, after removing the the environment variable.. 'curl' command executed successfully.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With