I'm trying to start a jetty server on a virtualbox vm (ubuntu 12.04 32 bit)
by running the following:
(run-jetty #'app {:port (Integer. (get (System/getenv) "PORT" 8080)) :join?
false})
However, I can't connect to the server. If I run "netstat -lp" the java
process doesn't show up and it looks as if nothing's listening on 8080.
However, if I run the above run-jetty function again in a separate process
I get the error message that another process is already bound to 8080.
The weirdest part of all this is that the very first time I tried starting
the server, it did start and I was actually able to reach it, but it only
worked that one time. Has anyone run into this? Is there any way to debug
the problem?
Thanks!
Daniel
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.