
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
change port
Hi
it seeks to change the default port with which the catalog URL works 8080
the file is server.xml in te directory /usr/local/qdc/apache-tomcat-9.0.56/conf
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mhernandez,
Thank you for raising this question. Since the backend application is Apache Tomcat, the steps to change the default port are as follows:
How to change Tomcat default port from 8080?
Prerequisite:
Please make sure that you have added the NEW port you will be using to the Linux Firewall as an allowed port, you would need to run:
$(sudo) firewall-cmd --zone=public --permanent --add-port=(your_new_port)/tcp
Step1 :
Find out tomcat’s server.xml, usually it will be under /usr/local/qdc/apache-tomcat-(your.version)/conf if tomcat is installed in the default location.
Step 2:
Locate the below line in the server.xml
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Here you can see the port number is configured to 8080.
Step 3:
Change the default port (8080) to 8989 or something of your choice.
<Connector port="8989" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Step 4:
Save the server.xml file and restart tomcat. You could see that tomcat will be listening to 8989 instead of 8080. Like below
09-Mar-2022 14:24:07.189 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["http-nio-8989"]
09-Mar-2022 14:24:07.207 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["https-jsse-nio-8443"]
Save your changes on server.xml file and restart tomcat web server. It will start listening on port 8082 instead on default port 8080.
Step 5:
You can then check the url “http://localhost:8989/qdc” in your browser you should see the Qlik Catalog Login page.
We hope the above was helpful and remain at your disposal for any other questions you may have.
Thank you for your time.
Kind Regards,
Dimitry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mhernandez,
Thank you for raising this question. Since the backend application is Apache Tomcat, the steps to change the default port are as follows:
How to change Tomcat default port from 8080?
Prerequisite:
Please make sure that you have added the NEW port you will be using to the Linux Firewall as an allowed port, you would need to run:
$(sudo) firewall-cmd --zone=public --permanent --add-port=(your_new_port)/tcp
Step1 :
Find out tomcat’s server.xml, usually it will be under /usr/local/qdc/apache-tomcat-(your.version)/conf if tomcat is installed in the default location.
Step 2:
Locate the below line in the server.xml
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Here you can see the port number is configured to 8080.
Step 3:
Change the default port (8080) to 8989 or something of your choice.
<Connector port="8989" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Step 4:
Save the server.xml file and restart tomcat. You could see that tomcat will be listening to 8989 instead of 8080. Like below
09-Mar-2022 14:24:07.189 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["http-nio-8989"]
09-Mar-2022 14:24:07.207 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["https-jsse-nio-8443"]
Save your changes on server.xml file and restart tomcat web server. It will start listening on port 8082 instead on default port 8080.
Step 5:
You can then check the url “http://localhost:8989/qdc” in your browser you should see the Qlik Catalog Login page.
We hope the above was helpful and remain at your disposal for any other questions you may have.
Thank you for your time.
Kind Regards,
Dimitry
