Replacing localhost for the server