Search code examples
wso2wso2-api-managerwso2-enterprise-integratorwso2-integration-studio

How can I configure Wso2 Integration Studio API to have access through two different ports simultaneously?


I have WSO2 Integration Studio API and I need that have a connection by two ports, the first one is through the default port ¨8290¨ and the second one I need that through ¨8291¨

I tried to configure the ¨deployment.toml¨file to change the default port to ¨8281¨ through the next sentence:

[server]
hostname = "localhost"
offset = 1

but with this sentence I only one can change the default port by 8281 and I need to have access through the 8281 and 8282 ports because I need access to two APIs in the same project at the same time, someone can explain to me how to make this, I will be grateful.


Solution

  • Go to IntegrationStudio/runtime and make two copies of the folder microesb. Lets call these two directories microesb1 and microesb2. Now go to microesb1/bin directory and run sh micro-integrator.sh this will start a server on the default port 8290.

    Then open microesb2/conf/deployment.toml and add the following.

    [server]
    hostname = "localhost"
    offset  = 1
    

    Now go to microesb2/bin directory and run sh micro-integrator.sh this will start a server on the default port 8291