# Logstash is not accessable outside of the docker container

**URL:** <https://discuss.elastic.co/t/logstash-is-not-accessable-outside-of-the-docker-container/251605>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [October 9, 2020, 6:18pm UTC](https://discuss.elastic.co/t/logstash-is-not-accessable-outside-of-the-docker-container/251605 "2020-10-09T18:18:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srikanth\_S1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/srikanth_s1/32/76962_2.png) [@Srikanth\_S1](https://discuss.elastic.co/u/Srikanth_S1)\
**Post date:** [October 9, 2020, 6:18pm UTC](https://discuss.elastic.co/t/logstash-is-not-accessable-outside-of-the-docker-container/251605/1 "2020-10-09T18:18:58Z")

</div>

Hi,,  
I build the docker image for the logstash using the "apt-get install logstash".  
I can able to run the image successfully, but i am unble to access the  
localhost:9600/?pretty  
outside of the container  
[https://artifacts.elastic.co/packages/7.x/](https://artifacts.elastic.co/packages/7.x/)  
this is the artifacts i am using

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 6, 2020, 6:19pm UTC](https://discuss.elastic.co/t/logstash-is-not-accessable-outside-of-the-docker-container/251605/2 "2020-11-06T18:19:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
