onramp is a websocket server which allows browsers to connect directly to each other. It acts as an "on-ramp" to a peer-to-peer network of browsers.
npm install -g onramp
You can pass
-h [host] to change set the host of the server. By default it will use "localhost:20500".
onramp is purpose-built to work with P.