use localhost instead of 127.127.127.127 in dev environments