Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcode port of repl-env #29

Closed
txrev319 opened this issue Dec 4, 2013 · 1 comment
Closed

Hardcode port of repl-env #29

txrev319 opened this issue Dec 4, 2013 · 1 comment

Comments

@txrev319
Copy link

txrev319 commented Dec 4, 2013

Consider the following blob:

lein do cljsbuild once, repl
Compiling ClojureScript.
nREPL server started on port 32794
REPL-y 0.2.0
Clojure 1.5.1
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)

bcrepl=> (def repl-env (reset! cemerick.austin.repls/browser-repl-env     (cemerick.austin/repl-env)))
Browser-REPL ready @ http://localhost:51098/5677/repl/start
#'bcrepl/repl-env

In particular, the following line:

http://localhost:51098/5677/repl/start

Is there a way to hard code the port that cemerick/austin opens up?

The server I'm talking to is behind a firewall. Thus, I need to either (1) tell iptables ot open up 51098 or (2) do port forwarding over ssh. I'm okay with this, but I'd prefer the port stay constant.

Question: is there a way to hardcode the port cemerick/austin opens up on?

Thanks!

@txrev319
Copy link
Author

txrev319 commented Dec 4, 2013

responding to self:

rtfm: https://github.com/cemerick/austin#server-port-selection

@txrev319 txrev319 closed this as completed Dec 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant