Can t access the Nginx web page connection refused

+1 vote

Hi Guys,

I have launched the Nginx image successfully with binding port 82 of the host in docker using the below command.

 $ docker run -it -d -p 82:80

I have also checked inbound rules for all traffic all protocols and ports. But can't access the Nginx page with ip_address:82. How can I solve this error?

Aug 27, 2020 in AWS by akhtar
• 38,230 points
2,355 views

1 answer to this question.

0 votes

Hi@akhtar,

I think the problem is you did not create a rule for port no. 82. You have used the concept of port forwarding in your docker container. But Nginx by default works on port 80. So you need to create a rule for port 80 in your ec2 instance.

answered Aug 27, 2020 by MD
• 95,440 points

Related Questions In AWS

0 votes
1 answer

AWS sigin loop - can't access the portal

I contacted AWS regarding the issue and ...READ MORE

answered Aug 7, 2018 in AWS by Priyaj
• 58,090 points
938 views
0 votes
1 answer

Cant see the AWS public IP Adress

35.160.0.0/13 is a CIDR Range. 35.165.39.114 falls between the range. Starting IP: ...READ MORE

answered Jun 1, 2018 in AWS by Cloud gunner
• 4,670 points
458 views
0 votes
1 answer

Explain how the buffer is used in Amazon web services?

In order to make system more efficient ...READ MORE

answered Jul 31, 2018 in AWS by Priyaj
• 58,090 points
4,967 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP