I've got a computer with a bunch of clojure code on it, sitting at home on 
my home network. I've configured my router to forward port 55555 on that 
computer to port 55555 on the router itself, so that, at least in theory, 
ROUTER_IP:55555 should be forwarded to THAT_COMPUTER:55555, if that makes 
sense. I've done this same thing for a number of other things, including 
SSH, MySQL, etc.

When I'm at home, I can fire up `lein gorilla :ip THAT_COMPUTER :port 
55555` and then go to http://THAT_COMPUTER:55555/worksheet.html, or, more 
directly, `lein repl :headless THAT_COMPUTER:55555`/`lein repl :connect 
THAT_COMPUTER:55555`, and it works. I'm trying to do the same from 
not-at-home, no dice. (For the curious: I can SSH into THAT_COMPUTER, but 
the connection is REALLY slow.)

I've tried `lein gorilla :ip ROUTER_IP :port 55555` (from THAT_COMPUTER), 
but get a java.net.BindException about not being able to assign the 
requested address--which makes sense--but `lein gorilla :ip 0.0.0.0 :port 
55555` doesn't seem to work either. Same with `lein repl :headless :host 
0.0.0.0.0 :port 55555`. 


Any suggestions? Is this just not a thing I can do with these tools at this 
point in their development? Is this a thing that should just work and 
possibly my dumb router or some other thing is screwing it up?



Thanks!
-sam

-- 
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/d/optout.

Reply via email to