How to change the TCP Port that is used by the Qlikview Web Server Service in Qlikview.
Environment:
QlikView
- Stop the QlikView Web Server Service (QVWS)
- Navigate to C:\Program Files\QlikView\Server\Web Server
- Backup the QVWebServer.exe.config
- Open the QVWebServer.exe.config in a Text editor and change the port value to the desired port as shown below in the value= area:
<!-- The port the service listens to. -->
<add key="WebservicePort" value="4750"/>
- Save the file
- Restart the Web Server Service (QlikView Web Server) or the Settings Service (IIS web server)
- Go to the Qlikview Management Console navigate to the Web Server resource (Qlikview Management Console -> System-> Setup -> QlikView Web Servers -> Click on the Edit button (pencil icon to the right))
- Change the default TCP port of 4750 to the port specified in Step 3 above (ex: http://<servername>:4750/QVWS/Service)
- Click Apply button
- Go to the Status -> Service in the Management Console to verify the QVWS resource is now online
- Go to C:\ProgramData\QlikTech\WebServer path and edit the Config.xml file
- Look for the <ConfigUrl>http://_:4750/QVWS/Service</ConfigUrl> line and change the port from 4750 to the new port number there too if it is not correct.