Assistance Needed with Jenkins Installation Issue on EC2 Ubuntu

Hi,

I recently installed Jenkins on an EC2 instance running Ubuntu. The installation process completed successfully, and I was able to input the initial password. However, when I attempted to install the suggested plugins, I encountered the error “Unable to connect to Jenkins.” I’ve been facing this issue for the past two days.

I’ve tried reinstalling both the operating system and Jenkins multiple times, but the problem persists. If anyone has a solution or any suggestions on how to resolve this issue, I would greatly appreciate your help.

Thank you in advance.

zeeshan
These are video and screenshot for reference: