I am trying to run API Manager and Application Server on the same server, along with configuration of Identify Server. I am getting Address already bind exceptions when starting server one after another. Please suggest me, how to configure these servers on the same system
All WSO2 products run on top of WSO2 Carbon framework. Each product will be using a set of ports in your system.
So, when you run multiple products in the same server without any configurations changes, you will run in to address already in use exceptions.
To avoid this you can just set a port offset for your products.
Please edit <PRODUCT_HOME>/repository/conf/carbon.xml
. Search for <Offset>
.
Here I'm quoting the docs.
<Offset>
Ports offset. This entry will set the value of the ports defined below to the define value + Offset. e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445.
Once you give different offsets for each product, you will be able to run multiple products in the same server.
I hope this helps!