[java] Tomcat starts but home page cannot open with url http://localhost:8080

For windows user, type netstat -anin command prompt to see ports that are listening, this may come handy.