Originally posted by nirmala18 on February 08, 2021
I am getting ERROR:org.apache.http.conn.HttpHostConnectException: Connection refused
![]()
please suggest me solution
Originally posted by nirmala18 on February 08, 2021
I am getting ERROR:org.apache.http.conn.HttpHostConnectException: Connection refused
![]()
please suggest me solution
Originally posted by richie on February 09, 2021
Hey nirmala18,
“Connection refused” occurs if the authentication/authorisation set on your request is incorrect.
So if “basic auth” is the auth type used, id confirm the username and password values as theyre likely to be wrong.
You need to confirm what authtype the endpoint youre trying to poke accepts and ensure the auth settings on your request has the correct config setup. Then the “connection refused” issue will be resolved.
Ta
Rich