http.Server.listen() was called more than once which is not allowed. #1211
Answered
by
Llorx
vincentsartoko
asked this question in
Q&A
-
I'm having an issue:I created an express app (hosted with A2Hosting), and attach a peer server with PeerServer({port: 7000}), but apparently it gives me an error like so:
Thank you, please reply to this post if you know why this error occurred |
Beta Was this translation helpful? Give feedback.
Answered by
Llorx
Oct 20, 2021
Replies: 0 comments 1 reply
-
As the documentation says, you have to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jonasgloning
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the documentation says, you have to use
ExpressPeerServer
to have a PeerServer working on your already existant express app.