This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12248|Reply: 0

[Web] Change the username and password of tomcat and the default port 8080

[Copy link]
Posted on 4/20/2015 10:49:56 AM | | |

Change your username and password:

Find D:\Program Files\apache-tomcat-6.0.13\conf\tomcat-users.xml, or the corresponding path you installed it. Open tomcat-users.xml with Notepad.

The content is similar as follows:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="tomcat" password="4080" roles="admin,manager"/>
</tomcat-users>

Modify port 8080:

You can find D:\Program Files\apache-tomcat-6.0.13\conf\server.xml, search for 8080, and change it to the port you want. Finally, you have to restart Tomcat.




Previous:How to check the hostname of a known LAN IP address
Next:Tomcat Weak Password Scanner [Apache Tomcat Scan] comes with a tutorial
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com