I’m trying to deploy a simple web server that serves some HTML on port 4000. My app deployed successfully with fly launch
and fly logs
shows my service awaiting requests on post 4000. I’m not using TLS.
Here is the fly.toml
file I’m using:
app = 'kpbj-fm'
primary_region = 'lax'
[build]
image = 'sbothwell/kpbj.fm:0.1.0.2'
[env]
APP_ENVIRONMENT = 'Development'
APP_OBSERVABILITY_EXPORTER = 'StdOut'
APP_OBSERVABILITY_VERBOSITY = 'Quiet'
APP_WARP_PORT = '4000'
APP_WARP_SERVERNAME = 'kpbj.fm'
APP_WARP_TIMEOUT = '100'
[[services]]
protocol = 'tcp'
internal_port = 4000
[[services.ports]]
port = 80
handlers = ['http', 'proxy_proto']
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
The dashboard shows the app as live with host kpbj-fm.fly.dev
. However I am not able to resolve the host name and fly logs
dont give me any information.
➜ curl http://kpbj-fm.fly.dev
curl: (6) Could not resolve host: kpbj-fm.fly.dev