# Help running PeerJS 'Hello World' example (in Web Editor)

**URL:** <https://discourse.processing.org/t/help-running-peerjs-hello-world-example-in-web-editor/23403>\
**Category:** Libraries\
**Created:** [August 20, 2020, 10:56pm UTC](https://discourse.processing.org/t/help-running-peerjs-hello-world-example-in-web-editor/23403 "2020-08-20T22:56:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ottenm](https://avatars.discourse-cdn.com/v4/letter/o/f08c70/32.png) [@ottenm](https://discourse.processing.org/u/ottenm)\
**Post date:** [August 20, 2020, 10:56pm UTC](https://discourse.processing.org/t/help-running-peerjs-hello-world-example-in-web-editor/23403/1 "2020-08-20T22:56:40Z")

</div>

I’m struggling to get the following example of p5js/PeerJS up and running:  
[https://editor.p5js.org/creativecoding/sketches/a9tDT2M1\_](https://editor.p5js.org/creativecoding/sketches/a9tDT2M1_)

I open the same page in 2 different windows and launch the first one as-is, including:  
``

```
let peer = new Peer(‘cc2’);conn = peer.connect(‘cc1’);
```

In the second window, I launch the same app but with the two key lines changed to:  
``

```
let peer = new Peer(‘cc1’); // diff peerconn = peer.connect(‘cc2’); // connect back to first app
```

I had it working a few days ago, but apparently not remembering it accurately (thank you covid!) When working, both apps display 2 ellipses, one ellipse from the app you’re in, the other ellipse mirroring the other app.

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![ottenm](https://avatars.discourse-cdn.com/v4/letter/o/f08c70/32.png) [@ottenm](https://discourse.processing.org/u/ottenm)\
**Post date:** [August 21, 2020, 1:38pm UTC](https://discourse.processing.org/t/help-running-peerjs-hello-world-example-in-web-editor/23403/2 "2020-08-21T13:38:33Z")

</div>

Well, my bad, running perfectly today exactly as described. Maybe something with peer server? Sorry for the spin!
