Good morning!
I*m having issues with starting my prefect server locally on my machine (mac)
here's the error message upon prefect startup:
Copy code
$prefect server start
Pulling postgres ... done
Pulling hasura ... done
Pulling graphql ... done
Pulling apollo ... done
Pulling scheduler ... done
Pulling ui ... done
Creating network "prefect-server" with the default driver
Creating t_postgres_1 ... done
Creating t_hasura_1 ... done
Creating t_hasura_1 ... error
ERROR: for t_hasura_1 Cannot start service hasura: driver failed programming external connectivity on endpoint t_hasura_1 (d6f6316d7f501eb40399dccdacd6bce8c09e565a6057ec6c6d5433274be1f707): Bind for 0.0.0.0:3000 failed: port is already allocated
ERROR: for hasura Cannot start service hasura: driver failed programming external connectivity on endpoint t_hasura_1 (d6f6316d7f501eb40399dccdacd6bce8c09e565a6057ec6c6d5433274be1f707): Bind for 0.0.0.0:3000 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
on docker here's the error message for that container t_hasura_1:
Copy code
t_hasura_1 exited with code 128
k
Kevin Kho
07/02/2021, 3:41 PM
Hi @peter zhao, looks like hasura could not start on port 3000 because there is something already there? Do you have something running on that port already?
Kevin Kho
07/02/2021, 3:43 PM
Maybe you can try something like
prefect server start --hasura-port 3001
to try opening it on another port and see if that works?
p
peter zhao
07/02/2021, 3:47 PM
Hello!
So I checked via netstat and nothing isusing 3000
I ended up restarting docker and I'm past this error
k
Kevin Kho
07/02/2021, 3:47 PM
Sounds good!
p
peter zhao
07/02/2021, 3:47 PM
I've got a different one now but I'll create a new thread as this is a separate issue
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.