Not sure, but "netstat -lanp" as root might get you a more comprehensive
port listing. Sounds like you have a process still holding on to the port
somehow. As a last resort there's always "killall java".


On Sat, Jul 13, 2013 at 7:27 AM, Daniel Higginbotham <nonrecurs...@gmail.com
> wrote:

> Hmm, I tried using ":join? true" and that didn't seem to solve the
> problem. I was doing that so that I could start  the server in a repl if I
> wanted to and still use the repl.
>
>
> On Friday, July 12, 2013 10:29:04 PM UTC-4, Gareth Jones wrote:
>
>> Just to check - you have set ":join? false" so the thread will not block
>> until the server ends - are you doing this intentionally and blocking the
>> thread elsewhere?
>>
>>
>> On Fri, Jul 12, 2013 at 8:45 PM, Daniel Higginbotham <nonrec...@gmail.com
>> > wrote:
>>
>>> 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 clo...@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+u...@**googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/clojure?hl=en<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 clojure+u...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> --
> 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
> ---
> 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 clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to