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 the default
http port.
1.
Logon to your admin console
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 someone 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.
This comment has been removed by a blog administrator.
ReplyDelete