tomas.teicher
tomas.teicher

Reputation: 923

New adonis project: server starts but not listening on port

I have created new adonis project using command

adonis new yardstick

cd yardstick

I did not do any changes, I have just run command to start server. Server started, but it is not listening on port. When I start server using "node" command, it works and port is listening. Where can I look to solve a problem, so it would work with adonis command, too?

Solution that does not work:

adonis serve --dev

Solution that works:

node server

Upvotes: 0

Views: 758

Answers (1)

Dboss
Dboss

Reputation: 46

Make sure that port 3333 is free.Then in your browser type localhost:3333

Upvotes: 1

Related Questions