Connection refused error while integrating client application with Crowd
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Application(s) can't authenticate to Crowd and the following error appears in the client log file:
1
ERROR [xfire.transport.http.HttpChannel] java.net.ConnectException: Connection refused
Cause
The client application can't reach the Crowd server due to networking error.
Resolution
Check to see if: 1. There is a proxy between the application and Crowd, and ensure that,
You have added configured your application to bypass the proxy. In case of JAVA application, you must set
-Dhttp.proxyHost=
myproxyserver.com
and-Dhttp.proxyPort=80
in JAVA_OPTSYou have configured trusted proxies for the application.
2. Check if there is a Firewall blocking Jira and Crowd communication
Was this helpful?