Unable to hit Phoenix endpoint when starting app from release build

I’m working on a legacy app running Phoenix 1.4 on Elixir 1.7.4. The release is built via distillery. The app starts fine via _build/dev/rel/myapp/bin/myapp foreground but HTTP requests to localhost:4000 fail. I’ve inspected the config to verify the host and port. The Endpoint is started with the rest of the app. Regular mix phx.server runs, so I’m not sure what fell off the wagon. Anyone have any ideas for troubleshooting this? Thanks!

1 Like

Did You set server: true in the config?

4 Likes

My guess is that the server: true option has not been set? Phoenix docs

3 Likes

Of course. THANK YOU.