Hi, i'm new on prefect, i'm installing prefect on ...
# prefect-server
Hi, i'm new on prefect, i'm installing prefect on centos8 cloud server, i expect prefect can run with my public IP (not local host). i have set the config.toml
Copy code
host = "<http://mypublicIP>"
port = "4200"
host_port = "4200"
endpoint = "${server.host}:${server.port}"
    host = "<http://mypublicIP>"
    port = "8080"
    host_port = "8080"
    host_ip = "mypublicIP"
    endpoint = "${server.ui.host}:${server.ui.port}"
    apollo_url = "<http://mypublicIP:4200/graphql>"
but some how, prefect come up with this err:
ERROR: for tmp_ui_1  Cannot start service ui: driver failed programming external connectivity on endpoint tmp_ui_1 (1f380ce2f089ba70a8c422d2302bb447fef87c48bdd81d2dd93898b661c661a0): Error starting userland proxy: listen tcp4 xx.xx.xx.xx:8080: bind: cannot assign requested address
but if i resetting the .toml file into local host. it's working with no error can any one give me a clue, on how prefect UI running with my public IP: this is my environment: • Python 3.6.8Docker version 20.10.8, build 3967b7ddocker-compose version 1.29.2, build unknowndocker-py version: 5.0.2CPython version: 3.6.8OpenSSL version: OpenSSL 1.1.1g FIPS 21 Apr 2020prefect version: 0.15.6
I don’t think this will change anything, but you could try remove
from host? Really you just need the endpoint like this tutorial. But I don’t think that’s the issue. Do you have something else running on the port already? I guess not since local host works right?