Not able to access my web app

When I’m using Docker container playground and deploying an app in a container. then the app succesfully deployed locally but not accessible from my web browser.

how are you trying to access it?

Hi @Rajsingh,

It’s a bit confusing whether you’re using the Docker container playground or running it locally. Could you clarify the context? That way, we can help you faster.

I’m using Docker container playground. and deploying the app in the container and i am able to access the app by using “view port” option inside the lab. but not able to access from my browser.

Deployed in docker container playground.
Able to access from the lab’s “view port” option .
Not able to access from my browser.
I’m not clear which should i use to access the app from the browser.

When you say you are trying to access from the browser on your local machine, what is the endpoint(url) that you are trying to reach?

Ideally, you won’t be able to access the app from your browser (via the internet) on your local machine.

Here’s why: The Docker playground you’re using operates like a virtual machine (VM) that is isolated from the internet. While you can interact with it through the terminal, it doesn’t expose its services externally.

When you spin up a container and map a port, you can access it from within the playground terminal (using the view port feature). However, since the playground itself isn’t publicly accessible, your local machine won’t be able to reach the app over the internet.

Thankyou so much @Srikanth_Reddy for clearing my doubt.