Not able to access the nginx container from IE or Chrome but from host service I can do curl http localhost port number

+1 vote
Not able to access the nginx container from IE or Chrome but from host service I can do curl http://localhost:port number
Aug 12, 2019 in Docker by anonymous
540 views
This could be probably an issue with DNS propagation.

You could probably check if the DNS is properly configured.

The issue could be associated with permissions. 

Try verifying that the files & directories that you're trying to access from the browser have proper permissions and that the user associated with the files & directories has proper permissions as well.

Hey! Can you give some more details of what you're trying to do? Also, do you get an error when you try to access it from chrome? If you do, please post the error.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Docker

+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 20,160 views
+1 vote
2 answers

How do I copy a file from docker container to host?

Here is a way which you can ...READ MORE

answered Aug 27, 2018 in Docker by Damon Salvatore
• 5,990 points
23,724 views
0 votes
1 answer
0 votes
1 answer

Why do I get Connection reset by peer when making a request to a service running in a container?

Typically, this message is returned if the ...READ MORE

answered Jul 9, 2019 in Docker by Sirajul
• 58,990 points
2,526 views
0 votes
1 answer

How to connect to the localhost of the machine from the Docker container?

Hi@akhtar, You can use --network="host" in your docker run command. It will ...READ MORE

answered Dec 23, 2020 in Docker by MD
• 95,060 points
136 views
0 votes
1 answer

Docker ports are working on the localhost but not with public ip

Probably, the reason is that you've included ...READ MORE

answered Jun 12, 2018 in Docker by Damon Salvatore
• 5,990 points

edited Oct 15, 2018 by Kalgi 1,938 views
0 votes
1 answer

How to run a docker command from inside the container?

You must have come across the /var/run/docker.sock file, ...READ MORE

answered Jun 28, 2018 in Docker by Sophie may
• 10,530 points
1,715 views
0 votes
1 answer

How to obtain the Docker container's IP address from the host?

This can be done by executing the ...READ MORE

answered Jul 16, 2018 in Docker by Sophie may
• 10,530 points
7,024 views
+3 votes
3 answers

Copying files from host to Docker container

For copying the files from the host ...READ MORE

answered Jul 18, 2018 in Docker by sunshine
• 1,280 points
188,998 views