Changing Your Tomcat Login Credentials
Print this Article
Last Updated:
October 27, 2014 4:19 PM
After installing Tomcat on your server, you need to change the credentials to log in to Tomcat Manager. If you dont, you'll receive a "Connection Time Out" error when trying to log in to Tomcat.
To Change Your Tomcat Login Credentials
- Open the
tomcat-users.xml
file in a text editor. Its location depends on your server's operating system:Operating System Path to File Linux /usr/local/easy/etc/easy-tomcat7/tomcat-users.xml
/usr/apache-tomcat-7.0.42/conf/tomcat-users.xmlWindows C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\conf\tomcat-users.xml
- Locate the following section:
- For the users tomcat, both, and role1, enter a new password instead of tomcat.
- Save the file.
- Log in to Tomcat (http://your server's IP address:8080/manager/) using your newly defined password.
Rate this article: