Hi Everybody,
I try to compile and run chat server but got port in use so I try to change the port inside prod.exs to 4060 but its not working. Where can I change or configure port? Many thanks!
Error message:
mix phoenix.server is deprecated. Use phx.server instead.
=INFO REPORT==== 7-Oct-2017::17:29:13 ===
application: logger
exited: stopped
type: temporary
** (Mix) Could not start application chat: Chat.start(:normal, []) returned an error: shutdown: failed to start child: Chat.Endpoint
** (EXIT) shutdown: failed to start child: Phoenix.Endpoint.Handler
** (EXIT) shutdown: failed to start child: {:ranch_listener_sup, Chat.Endpoint.HTTP}
** (EXIT) shutdown: failed to start child: :ranch_acceptors_sup
** (EXIT) {:listen_error, Chat.Endpoint.HTTP, :eaddrinuse}
God blesses!!!
Best regards,
Sanyaade
Hi Everybody,
I try to compile and run chat server but got port in use so I try to change the port inside prod.exs to 4060 but its not working. Where can I change or configure port? Many thanks!
Error message:
=INFO REPORT==== 7-Oct-2017::17:29:13 ===
application: logger
exited: stopped
type: temporary
** (Mix) Could not start application chat: Chat.start(:normal, []) returned an error: shutdown: failed to start child: Chat.Endpoint
** (EXIT) shutdown: failed to start child: Phoenix.Endpoint.Handler
** (EXIT) shutdown: failed to start child: {:ranch_listener_sup, Chat.Endpoint.HTTP}
** (EXIT) shutdown: failed to start child: :ranch_acceptors_sup
** (EXIT) {:listen_error, Chat.Endpoint.HTTP, :eaddrinuse}
God blesses!!!
Best regards,
Sanyaade