tomcat 6 -- localhost configuration not working
Hi,
I have configured tomcat 6 on IntelliJ. In configurations I have selected an option to Start browser on server tab. But when I run my application, I get an error "Cannot open URL. Please check this URL is correct". My url is http://localhost:8080/.
Not getting any error on console, Tomcat starts without any problems. There is nothing dumped in Tomcat logs directory. Any idea?
Thanks,
Please sign in to leave a comment.
Are you sure the port is correct? About the only time I can recall getting that error is when I have Tomcat configured to a port other than 8080 but localthost:8080 set in the open URL dialog. Check the port in your tomcat logs and/or configuration. Also try pasting the URL directly into your browser. If it doesn't work there, then either tomcat isn't starting correctly or there's a misconfiguration. Port's the most common one.
Thanks. you are right, it was different port...