[英]Jenkins - Forbidden error 403 on private subnet EC2
I'm learning devops and working on a project to install jenkins on an aws ec2 that is on a private subnet.我正在学习 devops 并致力于一个项目,以在私有子网上的 aws ec2 上安装 jenkins。 Following the digital ocean doc, I was able to install it successfully and the jenkins service is running.
按照数字海洋文档,我能够成功安装它,并且 jenkins 服务正在运行。
https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-20-04 https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-20-04
I have an ALB setup to access Jenkins, but the target group is failing with the health check 403.我有一个 ALB 设置来访问 Jenkins,但目标组因运行状况检查 403 而失败。
When I try to curl
on http://localhost:8080
on the same ec2 host or from the bastion host, I get an "Authentication required" error, and doing curl with -I gives me HTTP/1.1 403 Forbidden. When I try to
curl
on http://localhost:8080
on the same ec2 host or from the bastion host, I get an "Authentication required" error, and doing curl with -I gives me HTTP/1.1 403 Forbidden.
I've spent a lot of time trying to get help on Google, but nothing worked and I'm kinda stuck here.我花了很多时间试图在谷歌上寻求帮助,但没有任何效果,我有点卡在这里。
Can someone please point me in the right direction?有人可以指出我正确的方向吗?
Try using the /login
instead.尝试改用
/login
。
curl -v http://localhost:8080/login
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.