您的位置:首页 > 移动开发

Changing the default port in WebSphere Application Server

2013-03-06 11:19 344 查看
Changing the default port
in WebSphere
Application Server

Sometimes we may need to
change the default port of a WebSphere Application
Server installation as a security precaution or for some other reasons like for coexisting with another WAS installation on the same machine. Moreover it’s always better to change the default ports in production environments. You can follow the below
steps to change thedefault http port.

1. Logon to your admin console

(Obviously this is the
first step. When we have such a nice interface available why we need to think some other options?).

2. Click on Servers -> Application
servers -> .

3. Click on Ports link under communications, under the Configuration tab. (If you expand the Ports section click on details).





4. Click on the port name you want to change. Here I am changing the default http transport port. So I clicked on WC_defaulthost port.





5. Enter the port number you want to use in port text box. (Please make sure that port is not already used by some one else). Apply and save the changes. After entering the new port the WC_defaulthost will look like the one in the below image.





6. Now click on Environment -> Virtual Hosts. This page would display all the virtual hosts present in the system.





7. Click on default_host.





8. Click on Host Aliases.





9. Click on the port you want to change.

10. Enter the new port number.





Apply and Save the changes to Master Repository. You are done. Restart the server and now the server will start binding to the new port.

Ref URL: http://www.albeesonline.com/blog/2008/08/27/changing-the-default-port-in-websphere-application-server/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐