How to change the port for `lein serve`
NobbZ opened this issue · 4 comments
NobbZ commented
I expected changing {:port 3000}
to {:port 9800}
would change the port to bind to, though…
Still lein serve
tries to bind to port 3000 wich is already in used on my system.
qdhaiqiang commented
The same requirement.
qdhaiqiang commented
@NobbZ You can change in source src/cryogen/server.clj
NobbZ commented
Yeah I found it myself, though its weird that there is some setting in the generated project.clj
that is then ignored and needs to be changed somewhere else…
Anyway. For me it was just a short experiment, and I left CLJ
holyjak commented
there is some setting in the generated project.clj that is then ignored
I do not see such setting in the generated project.clj?!
Anyway, the question seems to be answered so closing for the time being. Feel free to reopen if you have more to say.