Strange2608
Strange2608

Reputation: 79

How to solve ERR_CONNECTION_REFUSED error while trying to connect Jenkins via AWS ec2 instance?

I am not able to connect to Jenkins via AWS ec2 ubuntu instance. I have also added the security group for the port 8080. But I only got this one error:

xx.xx.xx.xxx refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Upvotes: 1

Views: 575

Answers (1)

Allan Chua
Allan Chua

Reputation: 10185

Tried accessing your Jenkins server using my personal computer using the following URL http://XX.XX.XX.XX:8080 (Pay attention to the syntax of port, I've used : instead of a /) and it opens without a problem.

enter image description here

Please do try it with your mobile phone as well. Now if the problem continues to persists, there maybe some network rules that prevents you from visiting the Jenkins server for security purposes. Please approach your networking guy at work if that's the case.

Upvotes: 0

Related Questions