I am learning servlets and JSP using head first book. I have instole TOMCAT 5.0 and java sdk 1.4 in my system. I also set my environment JAVA_HOME and TOMCAT_HOME. But when I try to run local host on my browser http://localhost:8080/ it produce an error �the connection was refused when attempting to connect local host: 8080�
Does any one have any suggestion to resolve this error? I appreciate in advance.
Thats the message you would get if: 1. Tomcat is not actually running on your home system. How did you start Tomcat? Why are you sure it is still running? -OR- 2. Tomcat is running but the HTTP port was changed from the 8080 port. Check your server.xml configuration file.
Thank you William for your response. I start TOMCAT/bin using �startup.sh� It seemed Tomcat started up in my system.I checked conf > server XML file. I have it set up <serverport = �8005� and <connected port = �8080�. Does the server port have to be 8080 in order to run my local system? If so how can we edit XML file to change port number.
Thank you for the suggestion, Head First Servlets & JSP book suggest tomcat 5.0 and 1.4 jdk. I think the problem is on port. Does any one have any experience Tomcat 5.0 port setting to use it local machine? I just want to see http://localhost:8080/ to display tomcat welcome page. I have change both connector port 8080 on Tomcat conf>server. But server port still on �8005�