Are you referring to the master server by fqdn or IP? If fqdn, don't forget about ec2's split horizon (though I don't think it should be resolvable across 2 separate VPCs... Can you open a socket from host 1 to host 2 manually (with nc or telnet) on TCP/9300? On 08/02/2015 9:43 am, "Eugen Paraschiv" <[email protected]> wrote:
> Hi, > I have the following simple EC2 topology: > - a VPC with my entire cluster, running in a public subnet > - a new slave in another VPC (also a public subnet) > - I'm using unicast - the slave has the following config: > discovery.zen.ping.multicast.enabled: false > discovery.zen.ping.unicast.hosts: ["master_elastic_ip:9300"] > So - the slave points to the public IP of the master - not the private > one. > > However - this new slave tries to connect to the master on the private IP > instead of the public one - and I'm getting: > org.elasticsearch.common.netty.channel.ConnectTimeoutException: connection > timed out: /172.61.51.253:9300 > Where 172.61.51.253 is the private IP. > Not sure what that is - do I need to configure anything on the slave to > make sure it uses the public IP to reach the master? > Thanks, > Eugen. > > -- > 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/026f6d30-d496-4905-a5f9-80c6be82669b%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/026f6d30-d496-4905-a5f9-80c6be82669b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CACj2-4JqqAynnkvJ85JW3EphiM22_ONx1xHFH96-SrjZ2UKb6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
