Holochain Forum

Trouble getting Bob web gui to show in Simple Micro Blog Tutorial

I have finished the last core concepts tutorial Simple Micro Blog and everything seems to work except that trying to access Bob by going to in the browser gives me a “Safari can’t connect to server” error. Running the command “hc run --networked sim2h --agent-name Bob” in a separate terminal tab seemed to have worked just fine. Has there been a change to sim2h that would have broken the tutorial’s instructions?

System: MacBook Pro 2016 on macOS Catalina 10.15.3

@alexanderlynch there’s a missing bit in the tutorial, so i’m not surprised it didn’t work. We’ve got a pull request waiting to be merged to fix that issue. In the meantime, what you need to do is start two agents in that DNA’s folder:

hc run --networked sim2h --agent-name Alice

(which serves Alice’s UI on the default port 8888) and

hc run --networked sim2h --agent-name Bob --port 8889

Then it should work.

1 Like

Thank you kindly! :pray:

1 Like

Thanks @pauldaoust! I was going a bit crazy trying to resolve this :stuck_out_tongue:

1 Like