change tomcat conf to connect to localhost