Hi The tutorials, both the "Running a Flow" and th...
# prefect-community
j
Hi The tutorials, both the "Running a Flow" and the "Universal Deploy" tutorials, fail. Both on the 
prefect auth login
 step. Prefect tries to connect locally rather than to your cloud:
Copy code
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=4200): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5aa8c9f630>: Failed to establish a new connection: [Errno 111] Connection refused',))
How do I tell Prefect that it should connect to the cloud?
j
Hi @joao you can switch to communication with cloud by running
Copy code
prefect backend cloud
from the CLI
j
Yup, I eventually figured that out, thanks. Had it on server to play locally and forgot about it 🙂