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 (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.