nshoes
Mix phx.server has weird output, does not start on port 4000
Going through Phoenix In Action, but using the latest versions of phoenix (1.4.6) and elixir (1.8). In section 6.2, Creating a new Phoenix Application, when I run mix phx.server, I get:
21:10:49.651 [info] Access AuctionWeb.Endpoint at http://localhost
The port is truncated at the end and no mention of Cowboy. This seems to be wrong compared to output I have seen around the internet. What am I doing wrong?
Marked As Solved
nshoes
Looks like there is a fix merged into master for phoenix: Bug - 6.2 Creating a new Phoenix application pg 109 · Issue #3 · PhoenixInAction/phoenix-in-action · GitHub
Also Liked
geo
idi527
AFAIK ← Absolutely not relevant, sorry.<app>/config directories are being removed from mix new helpers by default (in elixir v1.9, phoenix’s helpers might be a bit ahead of time) so as not to confuse the users (since mix config is evaluated at compile time, not runtime).
This might be more relevant however → Server wont start and don't receive any error · Issue #3429 · phoenixframework/phoenix · GitHub
idi527
![]()
mix phx.new.web is to generate a phoenix app inside an umbrella project, it probably won’t work outside of an umbrella (configs, build, deps paths would be wrong probably). mix phx.new generates a standalone app.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance










