URL check localhost instead of hardcoded IP