Search code examples
web-applicationswebsphereport

How to set IBM Websphere 8 to serve web applications on different ports?


I need to deploy two applications as WAR files on Websphere. Both of them will require only HTTPS access.

Is it possible to run these two web applications on separate ports on same Websphere instance?

For example, will it be possible to access two applications like this:

https://192.101.1.101:7070/WebApplication1/ 

and

https://192.101.1.101:7080/WebApplication2/ 

(Same IP, same protocol(https), different ports)


Solution

  • IBM WAS Standalone server allows creation of multiple profiles on same server using Profile Management Tool. It is almost like there are two IBM installations on the same server.

    There are two Windows processes one for each profile. And the entire set of ports are incremented automatically making them as two different app server instances. Its easy to manage both using the Profile management tool. Also, they have separate consoles where settings can be adjusted.