This can also be solved by not hard-coding "localhost" in
one.sample.core as it is now.

There are functions in goog.uri.utils to help with this.

This is on our list of things to do.

Brenton

On Jan 12, 2:30 pm, Ryan Waters <ryan.or...@gmail.com> wrote:
> I ran into an issue with remote development and ClojureScript One and
> thought I'd share with others who potentially will run into the same
> issue.
>
> If I want to access ClojureScript One on ComputerA from ComputerB then
> I have to tunnel or port forward my request to ComputerA's
> localhost:8080.  That's pretty self-evident.  However, I couldn't get
> (cljs-repl) stuff to live update.  Instead the repl prompt would hang
> and I nothing would change in my browser.  It turns out the long poll
> XHR request runs over port 9000 so you need to forward or tunnel both
> 8080 and 9000 for everything to be happy.
>
> This can be accomplished, e.g, with the following from ComputerB:
>
> ssh -N -L localhost:8080:localhost:8080 -L
> localhost:9000:localhost:9000 user@computera
>
> - Ryan

-- 
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

Reply via email to