How to Change Tungsten-1.0 HTTP and HTTPS Port Numbers
- By Ruchith Fernando
- 6 Jul, 2006
- Reads: 8536
Here we will learn how to change Tungsten-1.0 HTTP and HTTPS Port Numbers
Tungsten Standalone DistributionBy default the Tungsten standalone distribution starts the HTTP transport on port 9762 and HTTPS transport on port 9443. You can simply change these to your desired values with two simple steps:
Update "tungsten.xml" file1. Open "conf/tungsten.xml" file in your favourite text editor. 2. Now you will be able to find the following section:
<!--HTTP settings.-->Now change the HTTP/Port value to the desired port number for HTTP and change HTTPS/Port value to the desired port number for HTTPS.
Update "tungsten.sh/.bat" file
Linux/UnixWhen hosting Tungsten on a Unix/Linux platform you will be using the "bin/tungsten.sh" file to start Tungsten. In this case you will only have to update the last line of tungsten.sh file with the new HTTP port number.
start "$TUNGSTEN_HOME/repository" 9762
Microsoft WindowsIn the case where you are using Microsoft Windows you must update the "bin/tungsten.bat" file. Find the following section in it and update the port number to your desired HTTP port.
Tungsten Embeddable Distribution
The Tungsten Embeddable Distribution is hosted in a servlet container such as Apache Tomcat. In this situation you will have to configure that particular container's HTTP and HTTPS configuration to change the port numbers.
WSO2 WSAS (Prebiously known as Tungsten) for Java, v1.0