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
posted 11 years ago
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.