I have previously installed some older Apache Tomcat. I have already removed they completely(how to remove it) and reinstall the Apache Tomcat 8.5 . Now when I try to type http://localhost:8080/
and try to log in , It doesn't give me to login even I give the correct username and password.
this is my 'tomcat-users.xml'
<tomcat-users xmlns="http://tomcat.apache.org/xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
version="1.0">
<user username="admin" password="admin" roles="manager-gui" />
LogIn image help me to fix it
CodePudding user response:
i changed port number from 8080 t0 8081 and it worked . go to apache tomcat installation directory and find conf directory in my pc it is
C:\Program Files\Apache Software Foundation\Tomcat 10.0\conf
now open the server.xml and change the port number to 8081 and save
<Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
now restart the apache tomcat server .