1

AWS EC2 想用负载均衡器监控一个 HTTP 主机是否工作正常,但一直搞不定

 2 years ago
source link: https://www.v2ex.com/t/782806
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Amazon Web Services

AWS EC2 想用负载均衡器监控一个 HTTP 主机是否工作正常,但一直搞不定

  asd7160 · 5 分钟前 · 13 次点击

在 AWS 上弄了一个免费的 EC2 实例玩,部署的是 windows server 2019 和 Tomcat8.5

Tomcat 上做了一个非常简单的 webapp,只有一个静态的网页 index.html,http 协议,8080 端口。

安全组和 windows 的防火墙里都把 8080 打开了,并且测试过浏览器也能正常访问这个静态网页。

现在想用负载均衡器监控这个 http 服务是否工作正常,侦听器也设置好了 HTTP 8080,但实例一直无法被监听器 ping 通。明明用浏览器可以打开,实在想不通问题出在哪里。请各位大佬指教。

负载均衡器的监听器设置如下: https://imgtu.com/i/2WEaSe https://imgtu.com/i/2WEdQH

index.html 放在 webapp/test/index.html,浏览器的访问方式是 http://IP 地址:8080/test

麻烦大家帮忙看看问题所在,非常感谢!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK