VM Instance group to configure to listen on port 80 and 8080

后端 未结 2 368
温柔的废话
温柔的废话 2021-01-16 16:42

I have configure my VM in such a way that I have 2 application running on one VM. First App listen on ip:80 port Second App listen on ip:8080 port

I have enabled p

相关标签:
2条回答
  • 2021-01-16 17:18

    I had similar problem and I had to add second backend. So I have two backends: one for 80 port, other for 8080. And I have on managed group.

    0 讨论(0)
  • 2021-01-16 17:32

    If you want to use IP addresses but not URLs/Domain(s) to reach to your web applications, then URL Maps cannot help to implement your design, as URL map forwards the request to the correct backend service using host values (example.com) and path values (/path) in the destination URL.

    That being said, you can add one more Target Proxy to your LB resources to route incoming requests directly to the desired backend services. This will allow you to keep your minimum number of instances as one VM.

    For more information, visit this article.

    0 讨论(0)
提交回复
热议问题