How to resolve port conflict in websphere
To resolve port conflicts in WebSphere Application Server on Linux, you can follow the below steps:
Determine the port that is in conflict:
a. Login in server
b. Run the command: ./netstat -an | grep <port> where <port> is the port number that is in conflict.
Identify the process that is using the port:
a. Run the command: ps -ef | grep <PID> where <PID> is the Process ID (PID) of the process that is using the port.
Stop the process that is using the port:
a. Use the kill command to stop the process: kill -9 <PID> where <PID> is the Process ID of the process that is using the port.
b. Change port in serverindex.xml file if required
c.Stop node and sync with dmgr then start node
Restart the WebSphere Application Server:
a. Go to the WebSphere installation directory: cd /opt/IBM/WebSphere/AppServer/bin
b. Run the command: ./stopServer.sh <server_name> where <server_name> is the name of the server that you modified the port number for.
c. Run the command: ./startServer.sh <server_name> where <server_name> is the name of the server that you modified the port number for.
After completing these steps, the port conflict should be resolve.
Comments
Post a Comment