Skip to content

Server listening to multiple ports? #11646

Answered by ejona86
evesdropper asked this question in Q&A
Discussion options

You must be logged in to vote

Generally the approach is "start multiple Servers." There's pretty low cost to doing so.

To do was added in 5067, you'd use NettyServerBuilder.addListenAddress(). It has limitations like "not being able to change ports once started."

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by evesdropper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants