Deploy to Heroku connection

346 views
Skip to first unread message

Wilf Engel

unread,
Feb 18, 2016, 11:12:25 AM2/18/16
to PeerJS
I just deployed to Heroku using the button. How do I connect to the peer server from PeerJS? 

Like this?
var peer = new Peer('someid', {host: 'localhost', port: 9000, path: '/myapp'});

The host will be https://myownpeerserver.herokuapp.com/ but how about the port and path?

Thanks!

Koustubh Kulkarni

unread,
Mar 30, 2016, 11:33:11 PM3/30/16
to PeerJS
Even I have the same question..

How to connect to a PeerServer (deployed o Heroku) from a peerjs client ?
Reply all
Reply to author
Forward
0 new messages