Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Default Port for application

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!