Skip to content

Does it work with HTTPS? #7

@jacklynlxq

Description

@jacklynlxq

I tried connecting it to my own PeerServer using HTTPS and it doesnt connect to the PeerServer. My Node application is also using HTTPS.

This is what I notice when I printed out the peer instance I've created:
_httpUrl: 'http://x.x.x.x:9000/peerjs/peerjs'

private peer = new Peer({
    host: 'x.x.x.x',
    port: 9000,
    path: '/peerjs'
  });

So I tried to host my PeerServer using HTTP and it connected. But I have to use HTTPS, is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions