Can't access Jepsen webserver from control node

9 views
Skip to first unread message

Tim Fox

unread,
May 17, 2022, 9:45:59 AM5/17/22
to Jepsen Talk
Still working through the tutorial using Docker on my macbook - managed to get a bit further - I can now run `lein run test` without errors!

I'm trying to do the step which starts the Jesper web server:

`lein run serve`

The webserver starts fine, but.... it's running in the control node container so I'm not sure how I can actually access it from anywhere useful.

Presumably there's some Docker magic required to port forward or something from my laptop to the webserver running in the container? Does anyone have any pointers on how to do this?

JS

unread,
May 17, 2022, 4:47:36 PM5/17/22
to Jepsen Talk, Tim Fox

"If your test includes a web server (try lein run serve on the control node, in your test directory), you can open it locally by running using bin/web. This can be a handy way to browse test results."
Reply all
Reply to author
Forward
0 new messages