Phoenix app exiting without information

Hi! Newcomer to Elixir here. Recently I Installed Elixir and bootstrapped a Phoenix app, but I can’t do phx.server because it just hangs without giving any further information.

When I run phx.server it instantly shows:

[info] Running AdonisWeb.Endpoint with cowboy 2.10.0 at 127.0.0.1:4000 (http)
[info] Access AdonisWeb.Endpoint at http://localhost:4000
[notice] Application adonis exited: shutdown

No idea what is happening there. Any advice is welcome. Thanks in advance.

PS: English is not my strength so sorry for any error I had

Could it be that the port 4000 is in use already?

I already tried changing the port an didn’t help.

Did you ever figure this out, or figure out how to even debug it?
I’m having the same problem now with an app and the lack of information makes it nigh impossible to debug.