lein-ring
lein-ring copied to clipboard
lein ring server-headless custom-port doesn't works
My problem is when I start lein ring server using this command It starts at 8080.
What I shoud do?
I use lein ring in c9.io
This is bug.
If I use this version - all works. :ring {:handler hashers-example.core/app :port 6001} :plugins [[lein-ring "0.8.13"]]
If I use last version of lein ring - doesn't work
Please check
I can't reproduce this error. Is it possible that you have a PORT environment variable set? That currently overrides the command line.
I use c9.io environment. And with 0.8.13 c9.io works correctly, but with latest version of lein ring doesn't work. MB this is bug with c9 or PORT variable, I don't know.
Have you tried changing the PORT variable, or checking its value?
printenv command shows: PORT=8080 IP=0.0.0.0