Changed tomcat server to localhost