Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default Port for application

 
Graham Thorpe
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.
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • 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
 
Kyle Brown
author
Ranch Hand
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