• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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 ]
 
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic