I am trying to access localhost:8080 but it is showing me I need to enter user name and pass word. I remember messing up with the server some 4 months ago while I was trying to develop a web application and hosting my domain name on my pc, Unfortunately I become unsuccessful. While working with servlets I was tring some security features and till some time i did not see and of these pop up windows asking for authentication.
I tried to enter the password that I was playing with but non of those are working. Is there anyway i could get out of this problem?
You need to access your app with http in the URL not https when developing locally. You may have your web browser set to automatically try to upgrade the connection from http to https.
After restarting Tomcat, you should be able to access the Manager app (http://localhost:8080/manager/html) using username = admin and password = admin.
http://localhost:8080. So if in a browser, if http://localhost:8080 is entered, it simply means to server web-pages from local web-server which is listening for web-requests on 8080 port. The machine might not be connected to internet at all and still web-pages can be rendered in browser from local hard-drive.
This is http authentication. You can find username and password inside users.xml WEB-INF directory if any. otherwise you have to edit or remove security-constraint
element from web.xml file
UPDATE Sorry, I haven't noticed XDB. check if Oracle and tomcat using same port. Update anyone of them
Some other application(like oracle) is using the same port number. So you should change the tomcat port number in apachetomcat/conf/server.xml
Privious--->
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Updated ---->
<Connector port="8088" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With