I've found a related question on StackOverflow. http://stackoverflow.com/questions/2706044/how-do-i-stop-jetty-server-in-clojure#2706239
What I have to do is invoking `stop` on the `server` object returned by `run-jetty`. On Wednesday, November 14, 2012 12:38:55 PM UTC+8, Sean Corfield wrote: > > On Tue, Nov 13, 2012 at 8:33 PM, Satoru Logic > <sator...@gmail.com<javascript:>> > wrote: > > BindException Address already in use sun.nio.ch.Net.bind (Net.java:-2) > > > > user=> 2012-11-14 11:44:21.370:WARN:oejuc.AbstractLifeCycle:FAILED > > SelectChannelConnector@0.0.0.0:3000: java.net.BindException: Address > already > > in use > > java.net.BindException: Address already in use > > > > > > And I can still access the "Hello World" example with "localhost:3000". > > Sounds like you already have a copy of the app - or another ring app - > running since the port is in use and you can still access it. > -- > Sean A Corfield -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > World Singles, LLC. -- http://worldsingles.com/ > > "Perfection is the enemy of the good." > -- Gustave Flaubert, French realist novelist (1821-1880) > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en