On different network default signalling server not work.
You already asked this question in the y-webrtc repo. https://github.com/yjs/y-webrtc/issues/12
Also you should clarify if you want to add a turn server or a signaling server.
I want to add signaling server. Default signaling server wont work in two different network.
The answer is in the README. It almost always is: https://github.com/yjs/y-webrtc#signaling
I can’t explain it better than that. Let me know if something is unclear.
I realize that your GitHub account is still pretty new and you are probably just getting started.
I refer you to https://medium.com/@methane/why-you-must-not-ask-questions-on-github-issues-51d741d83fde as a starting guide on how to interact with maintainers. Answering questions and building free software is something most maintainers do for free because they believe in OSS software. So a filled-out form, a complete sentence, and just Hello, and Thanks can go a long way to receive a meaningful answer. You dragged your answer from peer2school, to y-webrtc, to this forum.
Just to hear that the answer is in the README.