I am a novice to web-sphere application server.
I am not able to figure out where I can get the url of application installed and what is default port number used for http requests.
Any help will be appreciated.
The port numbers used can be specific to you particular WAS installation and depends on the topology as well. You can either try default 9080 or look for the port number in WAS configuration. What you're looking for is WC_defaulthost for http and WC_defaulthost_secure for https.
If you have access to WAS admin console, navigate to Servers => WebSphere Application Servers and choose your server. Then look for Communication sections which contains Ports.
Of course it is always possible to look for the port number on disk. For example:<WAS_HOME>/profiles/<PROFILE_NAME>/logs/AboutThisProfile.txt
is generated when creating the profile, so contains the port numbers as well. Then you can take a look at <WAS_HOME>/profiles/<PROFILE_NAME>/config/cells/<CELL_NAME>/nodes/<NODE_NAME>/serverindex.xml
As mentioned by Michal in his answer, the port can be found in the Administrative console under Servers -> Server types -> WebSphere application servers -> (your server name) -> Ports (in the Connunication section).
The remainder of the URL can be looked up and configured under Applications -> Application Types -> WebSphere enterprise applications -> (your application name) -> Context Root For Web Modules (in the Web Module Properties section).
None of the answer's worked for me as my application used a virtual host.
In Websphere admin console:
Environment
Virtual hosts
Host Aliases
and there you will find the port number.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With