use REMOTE_ADDR when regenerating_id instead of the SERVER_ADDR