change url of ES server to localhost