Skip to content

Cannot create PeerJS Server on Port 443 #1210

Answered by lele0108
ftppro asked this question in Q&A
Discussion options

You must be logged in to vote

This could be because ports below 1024 require superuser access. Perhaps try running the node server as superuser and see if it works?

Since running node as superuser is bad practice, you can configure firewalld / iptables to forward packets from port 443 to 9000. That way, you can run node on port 9000 without superuser and receive all packets that are sent to port 443 (for SSL).

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jonasgloning
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
server related to peerjs-server
4 participants