Assuming you are running docker it is most likely a firewall issue: Packets that originate from a docker container are seen from the host as coming from the ‘docker0’ interface. By default this traffic is blocked.
> sudo iptables -L -v -n --line-numbers Chain INPUT (policy ACCEPT 0 packets, 0 bytes) num pkts bytes target prot opt in out source destination 1 3633 281K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 2 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 3 1 60 ACCEPT all -- docker0 * 0.0.0.0/0 0.0.0.0/0 4 13 968 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 5 4 256 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 6 1187 81739 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited 7 0 0 LOGGING all -- * * 0.0.0.0/0 0.0.0.0/0 To fix this issue, I added line #3. Note that everything that comes from ‘lo’ is wide open. I just duplicated that rule for ‘docker0’. > sudo iptables -I INPUT 3 -i docker0 -j ACCEPT && sudo service iptables save The line ‘3’ may be different depending on any other rules you may have added. On March 2, 2015 at 6:37:29 AM, wzcwts521 ([email protected]) wrote: Hi Matt I am wondering if you have a solution of this issue? -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/No-route-to-self-tp4061098p4071354.html Sent from the ElasticSearch Users mailing list archive at Nabble.com. -- You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/9KACzNoTfYk/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1425062730392-4071354.post%40n3.nabble.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.54f677d8.74b0dc51.3c8%40Matthews-MacBook-Pro.local. For more options, visit https://groups.google.com/d/optout.
