# AWS EC2 configuration for remote access?

**URL:** <https://discuss.elastic.co/t/aws-ec2-configuration-for-remote-access/230781>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [May 2, 2020, 1:17am UTC](https://discuss.elastic.co/t/aws-ec2-configuration-for-remote-access/230781 "2020-05-02T01:17:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian_b/32/46413_2.png) [@Brian\_B](https://discuss.elastic.co/u/Brian_B)\
**Post date:** [May 2, 2020, 1:17am UTC](https://discuss.elastic.co/t/aws-ec2-configuration-for-remote-access/230781/1 "2020-05-02T01:17:04Z")

</div>

I installed Elasticsearch on AWS EC2 instance and then I installed app-search on a local Linux box and I can connect and run it fine. Now I want to put app-search on a new AWS EC2 and connect to it remotely for the admins in my office. When I install app-search on AWS I can curl port localhost:3002 and get a response but I can't connect to it remotely using the IP address. So I cangee app-search.yml so to use my AWS public IP address and now it errors out. Any ideas on the best way to configure it so I can connect to app-search remotely? Here is my app-search.yml settings:

```auto
allow_es_settings_modification: true
elasticsearch.host: http://99.99.99.99:9200 #AWS ElasticSearch public IP
elasticsearch.ssl.enabled: false
#works if I just do localhost:3002
#app_search.listen_host: 127.0.0.0   
#using AWS app-search public IP causes bin/app-search to crash
app_search.listen_host: 99.99.99.99 
app_search.listen_port: 3002

```

Thanks,

Brian

---

<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:** [May 30, 2020, 1:17am UTC](https://discuss.elastic.co/t/aws-ec2-configuration-for-remote-access/230781/2 "2020-05-30T01:17:07Z")

</div>

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