peerjs-server icon indicating copy to clipboard operation
peerjs-server copied to clipboard

Changing Port on Peer.js Server for a Newbie to Node.js

Open JAA17 opened this issue 5 years ago • 1 comments

My webserver people at Winhost say I cannot use port 9000. I have asked if I can use any port with them:

https://forum.winhost.com/threads/peer-js-peer-server.30902/

If I can access ports at Winhost, what do I need to do with the Peer.js Server to change all the ports in the code to the new port? Can anyone give a newbie a step by step guide of what I need to do?

EDIT: I have found I need to do it on port 80. Can anyone help me to understand how this can be done?

JAA17 avatar Feb 04 '21 17:02 JAA17

Hi, @JAA17 . Port id could be changed during initial run: peerjs --port 30902 --key peerjs --path /myapp

anpolimus avatar Apr 19 '21 09:04 anpolimus