Steps to change port used by Tomcat in Eclipse.
Some time when you run the application on your system several application might already consumed the default ports you need to your operation, you can free down those ports but again you will end up stopping the application currently running on that port.
Or you can change the port number in eclipse it self.
Step 1 : Click on the server view and select your server and double click on the same.
Step 2: In the server properties window change the port in the section mentioned in the screen shot.
That's it you can now access your server on different ports !!
Some time when you run the application on your system several application might already consumed the default ports you need to your operation, you can free down those ports but again you will end up stopping the application currently running on that port.
Or you can change the port number in eclipse it self.
Step 1 : Click on the server view and select your server and double click on the same.
Step 2: In the server properties window change the port in the section mentioned in the screen shot.
That's it you can now access your server on different ports !!


No comments:
Post a Comment