# PeerJS Server

PeerJS Server is a self-hosted signaling server that helps PeerJS clients find each other and establish direct peer-to-peer connections for video, audio, and data, giving developers a lightweight way to add low-latency. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6061/peerjs-server

## Description

PeerJS Server is a self-hosted signaling server that helps PeerJS clients find each other and establish direct peer-to-peer connections for video, audio, and data, giving developers a lightweight way to add low-latency communication.

## Platform availability

Available on 0 of 10 platforms.

## Health score

37/100 (Low), based on 4 of 5 factors.
- Maintained: 28 (last commit 453 days ago)
- Popular: 73 (4,699 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 20 (1 serious finding, 2 minor, CI, tests, OpenSSF Scorecard 3.3/10)

## Security check

1 serious finding: Uses proxy-addr 2.0.7, which has a known critical vulnerability.
Automated checks on commit cfa79ac, 19 Oct 2026. Not an audit.

## Links

- Docker Hub: https://hub.docker.com/r/peerjs/peerjs-server
- GitHub: https://github.com/peers/peerjs-server
- Official website: https://peerjs.com

## Common questions

### Do I have to use the hosted PeerJS server?

No, PeerJS can use your own hosted PeerServer instead of the free cloud server.

### Is HTTPS required when self-hosting PeerServer for production?

Yes, you should always use SSL in production and set secure: true on the client.

### Does PeerServer provide TURN connectivity?

No, PeerServer only handles signaling. You still need TURN servers for peers behind symmetric NATs.

### Can I configure ICE servers?

Yes, PeerJS lets you configure ICE servers, debug levels, and serialization formats.

---
Source: Our Local Host (https://ourlocalhost.com/app/6061/peerjs-server), the self-hosted and open-source app directory.
