Port error when deploying with Fly
When I try to deploy using fly.io. I use the exact commands and ahve not changed anything about my code. I get this error:
WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
- 0.0.0.0:3000
Found these processes inside the machine with open listening sockets:
PROCESS | ADDRESSES
-----------------*---------------------------------------
/.fly/hallpass | [fdaa
d462:a7b:2eb:84ef:c82f:2]:22
Creating a second machine to increase service availability
Machine 6830de1f79d028 [app] was created
Machine 6830de1f79d028 [app] update finished: success
Finished launching new machines
NOTE: The machines for [app] have services with 'auto_stop_machines = "stop"' that will be stopped when idling
Checking DNS configuration for myapp-server.fly.dev
Visit your newly deployed app at https://myapp-server.fly.dev/
The server does not work on prod beucase its not listing on the right port despite the toml file containing this
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 1
processes = ['app']
WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
- 0.0.0.0:3000
Found these processes inside the machine with open listening sockets:
PROCESS | ADDRESSES
-----------------*---------------------------------------
/.fly/hallpass | [fdaa
Creating a second machine to increase service availability
Finished launching new machines
NOTE: The machines for [app] have services with 'auto_stop_machines = "stop"' that will be stopped when idling
Checking DNS configuration for myapp-server.fly.dev
Visit your newly deployed app at https://myapp-server.fly.dev/
The server does not work on prod beucase its not listing on the right port despite the toml file containing this
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 1
processes = ['app']
