This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-04
Channels
- # announcements (5)
- # aws (12)
- # beginners (76)
- # boot (29)
- # cider (24)
- # circleci (9)
- # clojure (64)
- # clojure-dev (27)
- # clojure-europe (3)
- # clojure-houston (1)
- # clojure-italy (33)
- # clojure-nl (19)
- # clojure-poland (1)
- # clojure-spec (6)
- # clojure-uk (20)
- # clojurescript (103)
- # clojutre (1)
- # code-reviews (60)
- # cursive (76)
- # data-science (20)
- # datomic (20)
- # duct (58)
- # figwheel-main (4)
- # fulcro (36)
- # graphql (6)
- # kaocha (4)
- # onyx (1)
- # pathom (15)
- # quil (3)
- # re-frame (15)
- # reagent (15)
- # reitit (9)
- # remote-jobs (2)
- # rewrite-clj (16)
- # ring-swagger (7)
- # shadow-cljs (132)
- # spacemacs (12)
- # sql (5)
- # vim (9)
- # xtdb (12)
- # yada (4)
@marc-omorain I'd like to do this on CircleCI for a unit test:
circleci@f55c318fd0a9:~$ nc -l 4444 &
[3] 486
circleci@f55c318fd0a9:~$ lsof -i:4444
circleci@f55c318fd0a9:~$
Any idea why there is no process listening on port 4444?not immediately - what does nc -l 4444
do if you run it in the foreground?
any error message?
the reason I'd like to do this is that I've made a function wait-for-it
which does the same as the famous bash script
weird:
circleci@f55c318fd0a9:~$ nc -l localhost 7777 &
[6] 515
circleci@f55c318fd0a9:~$ nc -z localhost 7777
circleci@f55c318fd0a9:~$ echo $?
1
vs
circleci@f55c318fd0a9:~$ python -m SimpleHTTPServer 7777 &
[7] 517
circleci@f55c318fd0a9:~$ Serving HTTP on 0.0.0.0 port 7777 ...
circleci@f55c318fd0a9:~$ nc -z localhost 7777
circleci@f55c318fd0a9:~$ echo $?
0
that’s weird. I have no idea.