https://prefect.io logo
m

MarceloChavezReinoso

09/05/2023, 1:42 AM
Dear Community, I am installing Prefect Community on CentOS 7.0, and of course the server has its own IP, how can I configure it to recognize this IP? and be able to access the monitoring dashboard, because when I put prefect server start it only gives me the localhost (127.0.0.1)???
g

Gregory Hunt

09/05/2023, 12:33 PM
@MarceloChavezReinoso you have to set these 2 Environment variables
Copy code
PREFECT_SERVER_API_HOST="0.0.0.0"
PREFECT_API_URL="http://${prefect_api_url}:${prefect_api_port}/api"
using the IP and Port(default 4200) of the server
m

MarceloChavezReinoso

09/05/2023, 5:12 PM
@Gregory Hunt, I have configured but the prefect dashboard is not rendered
imagen.png
imagen.png
g

Gregory Hunt

09/05/2023, 6:48 PM
hmm, that looks correct