# Elasticsearch connection error on server

**URL:** <https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034>\
**Category:** Elasticsearch\
**Created:** [June 7, 2016, 7:54am UTC](https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034 "2016-06-07T07:54:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hilal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilal/32/7684_2.png) [@Hilal](https://discuss.elastic.co/u/Hilal)\
**Post date:** [June 7, 2016, 7:54am UTC](https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034/1 "2016-06-07T07:54:02Z")

</div>

hi,

I am using putty server . I downloaded ES 2.3.3 and I installed java. After I tried to connection of ES. My ıp number:`187.45.254.52`  
Also I changed network.host:`187.45.254.52` in elasticsearch.yml

```
[root@elasticsearch ~]# service elasticsearch start
Starting elasticsearch (via systemctl): ok

```

After:

`[root@elasticsearch ~]# curl -XGET 'http://187.45.254.52:9200'`

```
{
  "name" : "Coldfire",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "2.3.3",
    "build_hash" : "218bdf10790eef486ff2c41a3df5cfa32dadcfde",
    "build_timestamp" : "2016-05-17T15:40:04Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}

```

However when I writed on browser `187.45.254.52:9200` but it is not working. I don't understand? It says:

```
This site can not be reached
  187.45.254.52 took too long to respond to the main machine.
Make a search on Google on 187 254 9200
ERR_CONNECTION_TIMED_OUT

```

What is the problem?

My log file:

```
[2016-06-07 03:16:36,665][WARN][env] [Mephisto] max file descriptors [65535] for elasticsearch process likely too low, consider increasing to at least [65536]
[2016-06-07 03:16:38,636][INFO][node] [Mephisto] initialized
[2016-06-07 03:16:38,636][INFO][node] [Mephisto] starting ...
[2016-06-07 03:16:38,707][INFO][transport] [Mephisto] publish_address {187.45.254.52:9300}, bound_addresses {187.45.254.52:9300}
[2016-06-07 03:16:38,711][INFO][discovery] [Mephisto] elasticsearch/eWTz-qKKTkeKxMrVt5dmQQ
[2016-06-07 03:16:41,757][INFO][cluster.service] [Mephisto] new_master {Mephisto}{eWTz-qKKTkeKxMrVt5dmQQ}{187.45.254.52}{187.45.254.52:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-06-07 03:16:41,771][INFO][http] [Mephisto] publish_address {187.45.254.52:9200}, bound_addresses {187.45.254.52:9200}
[2016-06-07 03:16:41,771][INFO][node] [Mephisto] started
[2016-06-07 03:16:41,797][INFO][gateway] [Mephisto] recovered [0] indices into cluster_state

```

156.58.145.48:9200

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 7, 2016, 8:09am UTC](https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034/2 "2016-06-07T08:09:49Z")

</div>

Firewall maybe?

---

<div class="post-metadata">

**Author:** ![Hilal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilal/32/7684_2.png) [@Hilal](https://discuss.elastic.co/u/Hilal)\
**Post date:** [June 7, 2016, 8:19am UTC](https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034/3 "2016-06-07T08:19:56Z")

</div>

No I closed Firewall. It is not working still.

---

<div class="post-metadata">

**Author:** ![Hilal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilal/32/7684_2.png) [@Hilal](https://discuss.elastic.co/u/Hilal)\
**Post date:** [June 7, 2016, 1:55pm UTC](https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034/4 "2016-06-07T13:55:09Z")

</div>

I reinstalled my server.  
I installed java and ES 2.3.3. So I started ES and it worked.  
After I installed Vesta Panel and I try to connect ES. However ES didn't work.  
Why?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 7, 2016, 8:54pm UTC](https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034/5 "2016-06-07T20:54:00Z")

</div>

I don't know what Vesta Panel is so I can't help sorry.

---

<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:** [July 5, 2017, 10:45pm UTC](https://discuss.elastic.co/t/elasticsearch-connection-error-on-server/52034/6 "2017-07-05T22:45:31Z")

</div>


