I am trying to use deliver to start a phoenix app in production on port 4000
I deploy and start the app with:
mix edeliver start production
Ping seems to be able to contact the server–I get a pong response with:
mix edeliver ping production
But if I ssh to the production host and try to load a page with curl I get a connection refused:
curl localhost:4000
Is there any way to check what port Phoenix/Elixir is trying to use in production?
I checked these logs:
/var/log/erlang.log.1
/var/log/run_erl.log
I see an error in erlang.log.1–but no explicit entry that indicates what port it thinks it is using:
…driver #Port<0.2646> failed: fd=0…
Is there a verbose or debug option that would log or display info about what port the app is actually trying to use?
If I ssh into the production host and start the server manually is there a way to find out what port it is trying to bind to?