is it fine to use 2 server ports in one uwrbsockets.js server? #974
Dhruv-Garg79
started this conversation in
General
Replies: 2 comments 4 replies
-
Yes you just call .listen twice that's totally fine |
Beta Was this translation helpful? Give feedback.
3 replies
-
All your routes will be available on 2 ports, i.e. There is no privacy at the routing level |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use 2 server ports:
I will expose public APIs using a public load balancer and internal APIs using a private load balancer.
I wanted to know is listening to 2 ports on the same server a good idea?
Beta Was this translation helpful? Give feedback.
All reactions