How can I view the Prefect UI that's hosted on a Windows Server virtual machine? #15020
-
I have a Windows Server 2022 virtual machine where Prefect is running on The goal here is to access to Prefect's web UI from a work machine. If I visit the virtual machine's IP address with the port ( I've tried start the Prefect server with different hosts: However, I still am not able to connect to the web UI from the work machine. I have created a TCP inbound rule on the VM to allow connections set to port Not sure if I am missing anything here or if anyone has setup something similar. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
hmm, not exactly sure, but here are a couple things I'd check:
For more details, these discussions might be relevant (especially the first): If you keep running into issues, let me know! |
Beta Was this translation helpful? Give feedback.
Hey @digitalghost-dev
hmm, not exactly sure, but here are a couple things I'd check:
PREFECT_API_URL
correctly setThis command should be executed both on the VM hosting Prefect and any machine trying to access it.
Network and Firewall: Ensure that the VM's network settings allow for external connections on port 4200. It's also worth double-checking that no outbound rules are blocking the connection from the machine you're trying to connect from.
Server Configuration: Running the server with
--host 0.0.0.0
should allow connections from any IP address. If that doesn't work, it might be worth revisiting the network configurati…