oney / react-native-webrtc-server

145 stars 91 forks source link

Signalling server doesn't work with app. #14

Open dhawaldev opened 6 years ago

dhawaldev commented 6 years ago

As mentioned in your documentation for react-native-webrtc (shown below).

oney

I have created a new server on heroku and used it as a signaling server for my app. This works fine for browser to browser, but doesn't connect to the app.

awesomesince96 commented 6 years ago

I am also stuck at the same problem.. did you find the solution ?

delpes commented 6 years ago

This is probably caused by port 4443:

When doing socket = io.connect('https://example.com', {transports: ['websocket']}); socket.io tries to connect to port 443.

After changing the line to: socket = io.connect('https://example.com:4443', {transports: ['websocket']}); to connection was successfully established