change tomcat url to localhost