Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Mia20191021
Contributor II
Contributor II

QlikSense port issue

after I installed the QlikSense May release, I cannot reach the QS hub/qmc any more and this error shows. I cannot reach the local host either from server, cannot see a webserver running on Port tcp_443 (https). I go to the folder C:\ProgramData\Qlik\Sense\Log\Proxy\Trace, and found in the log file there is an ERROR "When contacting https://localhost:4242/ No connection could be made because the target machine actively refused it [::1]:4242

anyone help here? what should I check next and how to fix this problem?

 

site error.PNG

1 Solution

Accepted Solutions
PadmaPriya
Support
Support

Hello @Mia20191021 

 

Please contact your IT and open the ports.

https://community.qlik.com/t5/Knowledge-Base/How-to-check-which-program-is-using-a-specific-port/ta-...

Supported ports of Qlik Sense refer to:

 

Thanks,

Padma Priya

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

8 Replies
PadmaPriya
Support
Support

Hello @Mia20191021 

 

Please check if port is opened:

netstat -ano | findstr 443
netstat -ano TCP | find /i "listening"
netstat -ano TCP | find /i "listening" | find /i ":443"

 

If port is listening please follow below steps:

It appears that one of the Qlik Sense certificates got deleted. Please run the following command: 

"C:\Program Files\Qlik\Sense\Repository\Repository.exe" -bootstrap -iscentral

you should be able to refresh the Qlik Sense certificates. 

This should allow you to regain access to the QMC. 

 

Thanks,

Padma Priya

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!
Mia20191021
Contributor II
Contributor II
Author

Hi Priya,
Thanks, but seems 443 is not listening, I only have 4432 here, so what should I do next?
[cid:image001.jpg@01D74F5C.FBC58390]
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Have you checked that all the Qlik Sense services are running?


talk is cheap, supply exceeds demand
Mia20191021
Contributor II
Contributor II
Author

yes, I checked Services and all are running
PadmaPriya
Support
Support

Hello @Mia20191021 

 

Please contact your IT and open the ports.

https://community.qlik.com/t5/Knowledge-Base/How-to-check-which-program-is-using-a-specific-port/ta-...

Supported ports of Qlik Sense refer to:

 

Thanks,

Padma Priya

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Check the logs of the Repository service. Port 4242 is of the repository service. I suspect that there's a problem with that service. The logs should give you more information.


talk is cheap, supply exceeds demand
Anonymous
Not applicable

We have the same issue. It's probably caused by the change of an IP address of the server. 
All services are running.

From C:\ProgramData\Qlik\Sense\Log\Proxy\Trace\C0700_System_Proxy.txt:

When contacting https://localhost:4242/ No connection could be made because the target machine actively refused it 127.0.0.1:4242↵↓Unable to connect to the remote server

We virtualised the server (it's a VM on Hyper-V now) and changed it's IP-address. Now I get the same error as listed above. Where to find the log of the repository service? Or is this a known issue?

Praveen
Contributor II
Contributor II

We're also facing the same issue in our environment.

Issue Background:

Qlik sense dev - Feb 2024 Patch 4

Created the dev VM offline snapshot and deployed in the new sandbox VM in order to perform the Qlik sense Upgrade activity as a result the QMC/HUB is not opening in the sandbox

URL used:
https://localhost/qmc
https://localhost/hub
https:// localhost:4242/qmc

Errors in Qlik sense proxy logs:

No connection could be made because the target machine actively refuse it 127.0.0.1:4242

Action taken so far:

STEP 1:
Sandbox ip address configured in the PostgreSQL config files( pg_hba.conf & postgresql.conf)

STEP 2:
Postgres services & all Qlik services has been restarted.(still QMC/HUB not working)

STEP3:
Only 4432(PostgreSQL) is listening in the sand box VM and rest of the Qlik ports are not listening while executing following command in cmd nestat -ano | findstr 443


Below ports doesn’t have the inbound entries,
Proxy (HTTPS) 443
Proxy (HTTP) 80
Repository Service (internal) 4242
Engine Service (internal) 4747
Scheduler Service (internal) 4244

STEP4:
Able to connect the PostgreSQL from the below path and unable to ping the ports(the application becomes hang state)

C:Progra Files\Qlik\Sense\Repository\Util\QlikSenseUtil

Kindly help me where any other place I need update any entries