Load balancing with same source port, but different target ports
I want to explore the option to use DigitalOcean’s load balancer to balance between different node instances on the same droplet (listening on different ports) - in order to utilize all the cores in a droplet. I guess it’s possible to do this with something like nginx, but I want to offload the processing to the load balancer.
Here’s a screenshot illustrating the issue:
It’s not possible to set the same source port (https - 443) but different target ports in DigitalOcean’s load balancer configuration.
Anyone knows if this is a known limitation? Or maybe there are plans to support it in the future? Or maybe some other idea?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.