GeeCON Prague 2014*
The moose likes Websphere and the fly likes Default Port for application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Default Port for application" Watch "Default Port for application" New topic
Author

Default Port for application

Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
Can we configure a application on default port on Websphere. I mean user while giving the URL to access an application websphere should not give port number in URL.
For example http://mydomain.co.in/MyApp should take him to application MyApp deployed on port 9080.
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1081

Go to Environment ---> Update Web Server Plugin

click on ok if you have web module deployed on same machine and restart server

If you have web module on different machine then download and replace the plug-in file on web server

Hope this helps

Shailesh


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Originally posted by Graham Thorpe:
Can we configure a application on default port on Websphere. I mean user while giving the URL to access an application websphere should not give port number in URL.
For example http://mydomain.co.in/MyApp should take him to application MyApp deployed on port 9080.



IBM does not recommend that you use WebSphere in a production server running on Port 80. There are security risks associated with having the same ports open inside your firewall as outside your firewall. While you can change the port the application server listens for HTTP on (To view this administrative console page, click Servers > Application Servers > server_name > Communications > Ports and choose the HTTP listener port) the reason that it is not set to 80 by default is that the web server plugin would forward to that port -- application URL's would never reference the WebSphere port (9080) since the web server plugin would forward requests from port 80 to port 9080.

And if you were somehow planning on running WebSphere inside the DMZ...well, that's an even worse idea...

Kyle
[ October 31, 2005: Message edited by: Kyle Brown ]

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
wood burning stoves
 
subject: Default Port for application