# Elastic search not working on 3g network

**URL:** <https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179>\
**Category:** Elasticsearch\
**Created:** [December 27, 2012, 9:43am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179 "2012-12-27T09:43:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandipp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandipp/32/2456_2.png) [@sandipp](https://discuss.elastic.co/u/sandipp)\
**Post date:** [December 27, 2012, 9:43am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/1 "2012-12-27T09:43:38Z")

</div>

i am using a dongle to connect to the INTERNET which uses 3g technology .  
I cannot connect to my elastic search which is on port 9200 .  
Same server is working from my normal wired connection .

Thanking you in advance .

---

<div class="post-metadata">

**Author:** ![ku3ia](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@ku3ia](https://discuss.elastic.co/u/ku3ia)\
**Post date:** [December 27, 2012, 10:20am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/2 "2012-12-27T10:20:00Z")

</div>

Can you access your host by ping command or tracert?

---

<div class="post-metadata">

**Author:** ![sandipp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandipp/32/2456_2.png) [@sandipp](https://discuss.elastic.co/u/sandipp)\
**Post date:** [December 27, 2012, 10:41am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/3 "2012-12-27T10:41:21Z")

</div>

Thanks for reply .  
yes ping is working  
also i m able to open servers default page [[http://server.name](http://server.name)] which is on port 80 in browser .  
but i cannot open [http://server.name:9200](http://server.name:9200) .

---

<div class="post-metadata">

**Author:** ![ku3ia](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@ku3ia](https://discuss.elastic.co/u/ku3ia)\
**Post date:** [December 27, 2012, 10:58am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/4 "2012-12-27T10:58:31Z")

</div>

elasticsearch.yml

# ElasticSearch, by default, binds itself to the 0.0.0.0 address, and listens

# on port [9200-9300] for HTTP traffic and on port [9300-9400] for node-to-node

# communication. (the range means that if the port is busy, it will automatically

# try the next port).

# Set the bind address specifically (IPv4 or IPv6):

# network.bind\_host: 192.168.0.1

# Set the address other nodes will use to communicate with this node. If not

# set, it is automatically derived. It must point to an actual IP address.

# network.publish\_host: 192.168.0.1

# Set both 'bind\_host' and 'publish\_host':

network.host: 10.112.1.10

# Set a custom port to listen for HTTP traffic:

http.port: 9200

Is addresses declared at your elasticsearch.yml are the same that you try to connect?

Can you access to your port by telnet?

like,  
root@elastic0:/opt/prepare# telnet localhost 9200  
Trying 127.0.0.1...  
telnet: Unable to connect to remote host: Connection refused  
root@elastic0:/opt/prepare# telnet 10.112.1.10 9200  
Trying 10.112.1.10...  
Connected to 10.112.1.10.  
Escape character is '^]'.  
^  
Connection closed by foreign host.

---

<div class="post-metadata">

**Author:** ![sandipp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandipp/32/2456_2.png) [@sandipp](https://discuss.elastic.co/u/sandipp)\
**Post date:** [December 27, 2012, 11:15am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/5 "2012-12-27T11:15:14Z")

</div>

" telnet localhost 9200 "  
is working from same server where elastic search is hosted .  
and "telnet server.ip 9200 "  
is also working from any other machine .  
but same command "telnet server.ip 9200 "  
not working from my 3g network connected machine .

also we are using single node so "publish\_host" and "bind\_host" are not significant they pointing to accurate point .  
that is the reason search works perfectly with all other network than 3g dongle network .

---

<div class="post-metadata">

**Author:** ![ku3ia](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@ku3ia](https://discuss.elastic.co/u/ku3ia)\
**Post date:** [December 27, 2012, 11:45am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/6 "2012-12-27T11:45:34Z")

</div>

I'm not exactly sure but seems transport by 9200 port is closed, or filtered by your 3G operator, if telnet perfectly works on any other communications, and seems this is not problem of ES.

Maybe you can check it by using traceroute command from Linux:  
traceroute -T -p 9200 your\_ip

Try it using 3G and normal wired connection separately each other

---

<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:** [December 27, 2012, 11:54am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/7 "2012-12-27T11:54:23Z")

</div>

Perhaps you can change your config and run ES on port 80 so it won't be blocked.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 27 déc. 2012 à 12:45, ku3ia [demesg@gmail.com](mailto:demesg@gmail.com) a écrit :

> I'm not exactly sure but seems transport by 9200 port is closed, or filtered  
> by your 3G operator, if telnet perfectly works on any other communications,  
> and seems this is not problem of ES.
> 
> Maybe you can check it by using traceroute command from Linux:  
> traceroute -T -p 9200 your\_ip
> 
> Try it using 3G and normal wired connection separately each other
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/elastic-search-not-working-on-3g-network-tp4027457p4027470.html](http://elasticsearch-users.115913.n3.nabble.com/elastic-search-not-working-on-3g-network-tp4027457p4027470.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> 
> --

--

---

<div class="post-metadata">

**Author:** ![ku3ia](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@ku3ia](https://discuss.elastic.co/u/ku3ia)\
**Post date:** [December 27, 2012, 12:08pm UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/8 "2012-12-27T12:08:07Z")

</div>

Its can be done ONLY if port 80 is not busy  
  
Perhaps you can change your config and run ES on port 80 so it won't be blocked.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 27 déc. 2012 à 12:45, ku3ia \<demesg@\> a écrit :

> I'm not exactly sure but seems transport by 9200 port is closed, or filtered  
> by your 3G operator, if telnet perfectly works on any other communications,  
> and seems this is not problem of ES.
> 
> Maybe you can check it by using traceroute command from Linux:  
> traceroute -T -p 9200 your\_ip
> 
> Try it using 3G and normal wired connection separately each other
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/elastic-search-not-working-on-3g-network-tp4027457p4027470.html](http://elasticsearch-users.115913.n3.nabble.com/elastic-search-not-working-on-3g-network-tp4027457p4027470.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> 
> --

--

---

<div class="post-metadata">

**Author:** ![sandipp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandipp/32/2456_2.png) [@sandipp](https://discuss.elastic.co/u/sandipp)\
**Post date:** [December 27, 2012, 12:16pm UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/9 "2012-12-27T12:16:38Z")

</div>

dadoonet thanx for reply but as correctly pointed by ku3ia my port 80 is not free .

also ku3ia unfortunately my testing machine is windows so i cant use  
**traceroute**  
so i used **tracert** it again it working fine for port 80 .  
i m figuring out how to pass port option for **tracert** ,  
do you know any other solution .

---

<div class="post-metadata">

**Author:** ![ku3ia](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@ku3ia](https://discuss.elastic.co/u/ku3ia)\
**Post date:** [December 27, 2012, 12:23pm UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/10 "2012-12-27T12:23:34Z")

</div>

Windows tracrt utility doesn't be able to make route on specified port.  
Sorry, but I don't know, maybe you can find any system utilities under Windows to check it, but if telnet doesn't works seems port is closed/filtered.

---

<div class="post-metadata">

**Author:** ![sandipp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandipp/32/2456_2.png) [@sandipp](https://discuss.elastic.co/u/sandipp)\
**Post date:** [December 27, 2012, 2:44pm UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/11 "2012-12-27T14:44:08Z")

</div>

thank you all for ur attention .  
finally i routed my apache to different port and elastic to 80 .  
so it start working .  
but still i m in search of better solution .  
so if you found any solution plz let me know  
i read about varnish(didn't get what exactly it is ? ).

---

<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 6, 2017, 2:58am UTC](https://discuss.elastic.co/t/elastic-search-not-working-on-3g-network/10179/12 "2017-07-06T02:58:24Z")

</div>


