Adapt to remote server