WebSphere creates a file called "AboutThisProfile.txt" under \IBM\WebSphere\AppServer\profiles\<profileName>\logs folder. This file contains
various port numbers. The one you are looking for is "HTTP transport port".
I want to find the http listen port, using reflection when the class(which holds port configuration) loads by class loader.
- With Thanks, Krishna.
Joined: Feb 13, 2004
One option could be to use wsadmin programming classes to get the value from webcontainer - http port settings.
Joined: May 05, 2011
I looked into many "wsadmin programming classes" using decompiler. nothing seems to have http port settings.
Do you know any class that holds this information. if so, just share. it will be very much helpful for me.