I am new to postman and I tried to send following post request:
localhost:8080/rest/auth/1/session
{âusernameâ: â[email protected]â, âpasswordâ: âtarishah1993â} (//sent body)
âContent-Typeâ,âapplication/jsonâ, (//header)
I am getting following error.
âCould not get any response
There was an error connecting to http://localhost:8080/rest/auth/1/sessionâ.
in postman under error log I am getting following:
Error: connect ECONNREFUSED 127.0.0.1:8080
Warning: This request did not get sent completely and might not have all the required system headers
Why this might have happened:
I have turn off âSSL certificate verificationâ in postman setting.
Checked with my service provider to confirm 8080 port is open for my machine
Tried to disable firewall
But still can not run this post request.
further more I opened chrome and paste this request direct their but got error message:
âthis site can not be openâ. Someone told me might be my server is not running but not sure how to check this. Any help will be really appreciated, as I mentioned at start I am new into field and trying to learn.
Thanks everyone in advance for your help and reply
This issue primarily appears to be due to the proxy settings as the endpoint you are trying to access isnât publicly accessible. Check if you are receiving the same issue for other requests as an example: Try sending the request - https://www.postman-echo.com/get
If you receive a successful response then, try changing the proxy settings and see if that helps. Here is the screen-record for your reference on the same.