Requirement:
In a scenario where the server has multiple IP addresses, with one IP used by any application and Adeptia on the other IP address that uses the same port as of first application. The requirement is that Adeptia should run on that particular IP address with the same port.
Solution:
We can achieve this requirement by adding a property in the 'jetty.xml' file located in the etc/jetty folder. Follow the steps to do this:
Once Adeptia is installed on a particular IP, for example on "192.168.1.115", add the following property in jetty.xml file that will bind Adeptia to the specific IP Address. This property should be added separately for both Http and Https in their respective connectors.
- For HTTPS:
Add a system property to define the 'host' name as the "abpm.webserver.address" line in the class "org.eclipse.jetty.server.ssl.SslSelectChannelConnector" with the default value as the 'IP Address of the Machine' (Highlighted below).
- For HTTP:
Also, add a system property to define the 'host' name as the "abpm.webserver.address" line in the class "org.eclipse.jetty.server.nio.SelectChannelConnector" with the default value as the 'IP Address of the Machine' (Highlighted below).
- After making these changes in the file, Adeptia Services are configured on the specific IP Address which is 192.168.1.115 and the ports on which Adeptia is running on are 9090 and 9443 for this use case.
Comments
0 comments
Article is closed for comments.