<p>I am currently working on deploying the WSO2 APIM on a Kubernetes cluster. All the pods and services are configured and running correctly. 
On the ingress settings we want to use expose default HTTP ports 80/443 instead of the default ports used by the product i.e. 9763/9443. We are not using any offsets for the port. </p>

<p>When testing the config we notice that the URL is always being redirected to port 9443 which is being blocked by the ingress. </p>

<p>Enabling HTTP protocol for admin also does not work as the redirection is happening to the default HTTP port configured in the product i.e. 9763</p>

<p>Is there a configuration in the carbon.xml/axis2.xml which can be changed to achieve the desired result or do we need to make changes in the Ingress setting for rewriting the URLs.</p>

<p>You can set proxy ports in PRODUCT_HOME/repository/conf/tomcat/catalina-server.xml file. For 9443 you can set the port 443 and for port 9763 you can use the port 80.</p>

<pre><code>&lt;Connector  protocol="org.apache.coyote.http11.Http11NioProtocol"
                port="9763"
                proxyPort="80" ............


&lt;Connector  protocol="org.apache.coyote.http11.Http11NioProtocol"
            port="9443"
            proxyPort="443" ...........
</code></pre>

<p>Please refer <a href="https://docs.wso2.com/display/Carbon430/Adding+a+Custom+Proxy+Path" rel="nofollow noreferrer">https://docs.wso2.com/display/Carbon430/Adding+a+Custom+Proxy+Path</a></p>
