Skip to content

Instantly share code, notes, and snippets.

@developerworks
Created March 6, 2015 13:35
Show Gist options
  • Select an option

  • Save developerworks/c528d125b33e47f0e9b7 to your computer and use it in GitHub Desktop.

Select an option

Save developerworks/c528d125b33e47f0e9b7 to your computer and use it in GitHub Desktop.
~/ElixirProjects/elixir-usersystem/app ¥sudo MIX_ENV=prod iex -S mix phoenix.server
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Compiled lib/user_system.ex
Compiled web/controllers/page_controller.ex
Compiled lib/user_system/endpoint.ex
Compiled web/view.ex
Compiled web/router.ex
Compiled web/views/error_view.ex
Compiled web/views/layout_view.ex
Compiled web/views/page_view.ex
Generated user_system.app
=INFO REPORT==== 6-Mar-2015::21:34:58 ===
application: logger
exited: stopped
type: temporary
=INFO REPORT==== 6-Mar-2015::21:34:58 ===
application: cowboy
exited: stopped
type: temporary
=INFO REPORT==== 6-Mar-2015::21:34:58 ===
application: cowlib
exited: stopped
type: temporary
=INFO REPORT==== 6-Mar-2015::21:34:58 ===
application: ranch
exited: stopped
type: temporary
** (Mix) Could not start application user_system: UserSystem.start(:normal, []) returned an error: shutdown: failed to start child: UserSystem.Endpoint
** (EXIT) shutdown: failed to start child: Phoenix.Endpoint.Server
** (EXIT) an exception was raised:
** (RuntimeError) :port in config is nil, please use a valid port number
(phoenix) lib/phoenix/endpoint/server.ex:44: Phoenix.Endpoint.Server.to_port/1
(phoenix) lib/phoenix/endpoint/server.ex:41: Phoenix.Endpoint.Server.default/3
(phoenix) lib/phoenix/endpoint/server.ex:23: Phoenix.Endpoint.Server.init/1
(stdlib) supervisor.erl:243: :supervisor.init/1
(stdlib) gen_server.erl:306: :gen_server.init_it/6
(stdlib) proc_lib.erl:237: :proc_lib.init_p_do_apply/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment