# Curl Refused by Local Host with 9200 port

**URL:** https://discuss.elastic.co/t/curl-refused-by-local-host-with-9200-port/166453
**Category:** Elasticsearch
**Created:** [January 31, 2019, 1:20am UTC](https://discuss.elastic.co/t/curl-refused-by-local-host-with-9200-port/166453 "2019-01-31T01:20:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![caitlinallen](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@caitlinallen](https://discuss.elastic.co/u/caitlinallen)
#### Post date: [January 31, 2019, 1:20am UTC](https://discuss.elastic.co/t/curl-refused-by-local-host-with-9200-port/166453/1 "2019-01-31T01:20:28Z")

</div>

Hi! Doing a quick standup of a stack on CentOS 7 server for a personal project.  
I cannot get it to curl the local host if I add a 9200 to the URL.  
Everything is running fine, everything has an active status.  
I've added the services and ports to the firewall so I am stumped.  
I cannot get it to curl outside IP addresses without timing out either.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 31, 2019, 5:07am UTC](https://discuss.elastic.co/t/curl-refused-by-local-host-with-9200-port/166453/2 "2019-01-31T05:07:45Z")

</div>

Can you share the full logs of your elasticsearch instance when it starts? Formatted with `</>` please.

---

<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: [February 28, 2019, 5:07am UTC](https://discuss.elastic.co/t/curl-refused-by-local-host-with-9200-port/166453/3 "2019-02-28T05:07:58Z")

</div>

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