Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes displays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "displays "unauthorised" in browser" Watch "displays "unauthorised" in browser" New topic

displays "unauthorised" in browser

Ramadevan Madhusudanan

Joined: Dec 21, 2004
Posts: 1
I installed Apache Tomcat 4.0 on my Windows XP.The installation was without any hassles.I created the environment variables JAVA_HOME and CATALINA_HOME.Then I started Tomcat.Everything went on well until i typed
http:\\localhost:8080\ in my IE browser.Upon hitting enter it is asking me to enter a user name and a password.I tried entries from tomcat-users.xml, but no success.But when I connected to the Internet and again typed in http:\\localhost:8080\ i was able to see the Tomcat page and was even able to run the examples.

Do i have to connect to internet everytime in order to work in Tomcat???

Hope you answer me.

Thanks in advance


James Ellis
Ranch Hand

Joined: Oct 14, 2004
Posts: 205
If you are connecting to localhost...then you should definitely NOT need to be connected to the internet. That means you are running tomcat locally, on your hard drive. So the internet shouldn't have anything to do with it.

Check your log files.
It is sorta covered in the JavaRanch Style Guide.
subject: displays "unauthorised" in browser
Similar Threads
HTTP Status 403
JSP is not working @ Tomcat 5.0
Error accessing application in Tomcat 5
IP address instead of localhost works??