I have deployed an instance with a key-pair, I am able to ssh to it but after doing ssh and installing also updating the security group, I am still unable to connect to instance through public ip.
Please Help @Tej-Singh-Rana
Looks to me like there is an issue with your Jenkins installation. I take it that the IP you’ve put in the security group for SSH is your own public IP (as can be found using something like https://checkip.amazonaws.com/). So if that is working, then there is no issue with your network configuration.
What ports is jenkins actually listening on? Have you configured it for 80 and 443?
A default Jenkins installation will listen on 8080 HTTP
Hi @harshgarg862000
Additionally, on @Alistair_KodeKloud use http
instead of https
if you did not configure the TLS/SSL part.
You can also test the Jenkins installation inside the server with curl.
Regard