# Enterprise search is working perfectly on local server. How to get internet endpoint?

**URL:** <https://discuss.elastic.co/t/enterprise-search-is-working-perfectly-on-local-server-how-to-get-internet-endpoint/251031>\
**Category:** Elastic Search\
**Created:** [October 5, 2020, 5:00pm UTC](https://discuss.elastic.co/t/enterprise-search-is-working-perfectly-on-local-server-how-to-get-internet-endpoint/251031 "2020-10-05T17:00:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sri\_sri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sri_sri/32/51976_2.png) [@sri\_sri](https://discuss.elastic.co/u/sri_sri)\
**Post date:** [October 5, 2020, 5:00pm UTC](https://discuss.elastic.co/t/enterprise-search-is-working-perfectly-on-local-server-how-to-get-internet-endpoint/251031/1 "2020-10-05T17:00:02Z")

</div>

Today I successfully installed enterprise app search on a Google cloud instance. I tested it on localhost:3002 and working perfectly including indexing & searches through reference UI.

But the problem is how can I get the proper endpoint url, so that any one on internet can search the documents indexed on it. Currently it is showing localhost:3002 as endpoint. But it works only locally on the server. Elastic cloud app search gives a proper endpoint url like [https://aws.com/api/enginename/](https://aws.com/api/enginename/)......

Can anyone please point me to a guide on this topic?

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [October 5, 2020, 5:35pm UTC](https://discuss.elastic.co/t/enterprise-search-is-working-perfectly-on-local-server-how-to-get-internet-endpoint/251031/2 "2020-10-05T17:35:38Z")

</div>

Make sure the port is listening on the external interface, not just localhost. (or all interfaces). The default config looks like it just listens on localhost.

Check firewall rules.

---

<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:** [October 6, 2020, 1:21am UTC](https://discuss.elastic.co/t/enterprise-search-is-working-perfectly-on-local-server-how-to-get-internet-endpoint/251031/3 "2020-10-06T01:21:21Z")

</div>

Not exactly related to your question but did you look at [Cloud by Elastic](https://www.elastic.co/cloud), also available if needed from [Google Marketplace](https://www.elastic.co/guide/en/cloud/current/ec-billing-gcp.html) ?

Cloud by elastic is one way to have access to **all features** , all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, Maps UI, Alerting and built-in solutions named [Observability](https://www.elastic.co/observability), [Security](https://www.elastic.co/security), [Enterprise Search](https://www.elastic.co/enterprise-search) and what is coming next 🙂 ...

So in few clicks you can have the whole service up and running and managed 😉

I know that it doesn't answer your question but I thought it might worth sharing.

---

<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 4, 2022, 8:14am UTC](https://discuss.elastic.co/t/enterprise-search-is-working-perfectly-on-local-server-how-to-get-internet-endpoint/251031/4 "2022-11-04T08:14:42Z")

</div>


