# Logstash exposure on port 12201 (gelf) permission denied

**URL:** <https://discuss.elastic.co/t/logstash-exposure-on-port-12201-gelf-permission-denied/200207>\
**Category:** Logstash\
**Created:** [September 19, 2019, 1:19pm UTC](https://discuss.elastic.co/t/logstash-exposure-on-port-12201-gelf-permission-denied/200207 "2019-09-19T13:19:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edwin\_Istin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edwin_istin/32/54503_2.png) [@Edwin\_Istin](https://discuss.elastic.co/u/Edwin_Istin)\
**Post date:** [September 19, 2019, 1:19pm UTC](https://discuss.elastic.co/t/logstash-exposure-on-port-12201-gelf-permission-denied/200207/1 "2019-09-19T13:19:57Z")

</div>

I deployed the ELK certified by Bitnami from GCP market place. My purpose is to receive data from my micro-services sending json to my Logstash pipeline. But when I try with curl (on localhost after use\_elk script) to POST some data, I have "permission denied".

Here is my Logstash conf :

```auto
input
{
   beats
   {
       ssl => false
       host => “0.0.0.0”
       port => 5044
   }
   gelf
   {
       host => “0.0.0.0"
       codec => “json”
       port => 12201
   }
   http
   {
       ssl => false
       host => “0.0.0.0"
       port => 8888
   }
   tcp
   {
       mode => “server”
       host => “0.0.0.0"
       port => 5010
   }
   udp
   {
       host => “0.0.0.0”
       port => 5000
   }
}
output
{
   elasticsearch
   {
       hosts => [“127.0.0.1:9200"]
       document_id => “%{[@timestamp]}”
       index => “logstash-%{+YYYY.MM.dd}”
   }
   stdout {
        codec => rubydebug
   }
}

```

Here is my curl command :

```auto
curl -XPOST 127.0.0.1:12201 -p0 -d '{"short_message":"Hello there", "host":"example.org", "facility":"test", "_foo":"bar"}'

```

I already succeeded once to make it work few month ago and I did exactly same thing. Someone has an idea what's wrong ?

---

<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:** [October 17, 2019, 1:20pm UTC](https://discuss.elastic.co/t/logstash-exposure-on-port-12201-gelf-permission-denied/200207/2 "2019-10-17T13:20:13Z")

</div>

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