---
title: "[Xray Server] Failed to connect to HP QC/ALM"
canonical: "https://docs.getxray.app/space/ProductKB/46268551/%5BXray%20Server%5D%20Failed%20to%20connect%20to%20HP%20QC%2FALM"
format: markdown
---
## Problem

Unable to establish a connection between the *Xray's HP QC/ALM Importer* and the HP server. 


## Required Information

Check the following information of the HP QC/ALM:

1. Server *hostname* and *IP address*
2. *Port* where the service is running
3. The protocol used, *HTTP* or *HTTPS (SSL)*

### HTTP protocol

From a command line in the host machine where Jira server runs, test the following:

1. Connectivity using the HP QC/ALM *hostname*  
*wget -p **http://****<hostname_hp_qc>****:****<port>***
2. Connectivity using the *IP address*  
*wget -p **http://****<ip_address_hp_qc>****:****<port>***


In the Xray's HP QC/ALM Importer use the *hostname* or the *IP address* according to the connectivity test that worked.

In case none have worked, then request your system administrator to allow connectivity between the Jira server and the HP QC/ALM server.

### HTTPS (SSL) protocol

From a command line in the host machine where Jira server runs, test the following:

1. Check the certificate name of HP QC/ALM SSL certificate.
  1. Open this website [*https://www.digicert.com/help/*](https://www.digicert.com/help/)
  2. Test the *hostname* using: *https://****<hostname_hp_qc>***
  3. Test the *IP address* using: *https://****<ip_address_hp_qc>***
  4. Check which worked (hostname or IP Address)
  5. success example:> Macro (inline-media-image)
  6. fail example:  
> Macro (inline-media-image)
2. If it worked with *hostname*, test connectivity using the HP QC/ALM *hostname*  
*openssl s_client -connect ****<hostname_hp_qc>****:****<port>***
3. If it worked with IP address, check connectivity using the *IP address*  
*openssl s_client -connect ****<ip_address_hp_qc>****:****<port>***


In the Xray's HP QC/ALM Importer use the *hostname* or the *IP address* that <u>matches</u> the <u>certificate name</u> and that <u>worked</u> in the <u>connectivity</u>.

In case the connectivity does not work for the certificate name, then request your system administrator to allow connectivity between the Jira server and the HP QC/ALM server, using the <u>certificate name</u>.


## Related articles



> Macro (contentbylabel)

> Macro (details)
> 
> | **Related issues** | > Macro (jira) |
> | --- | --- |