Axon.ivy 7.0 - the Digital Business Platform - is out now...

Hi ivyteam

My team has a server which has 3 instances of Ivy engine on it. Sometime when we restart engine, it cause issue that "ES can not be started. Connection refused"

As far as i know on each engine it sill contain one ES and it will be started when engine is started. By default, ES will take port 9200 or 19200 on localhost (Reference link )

So is there any cases that the port is conflicted in my situation? If so, how can we configure the port for many instance of Ivy engine? We're using Amazon cloud so it's not a good way to buy different server for each Engine on cloud.


asked 09.03 at 01:48

trungdv's gravatar image

accept rate: 52%

Hi @trungdv,

Based on my experience with Elasticsearch on Ivy, I used to try to block ES from starting on port 9200 or 19200 then I see that ES will try to start on another port like 9201 or 19201.

In addition to that, normally an Amazon EC2 instance does not allow any other port than 80, 443 or 8080. It could be refused by the firewall.

You can use process explorer to check all the process and port that ES starting on. Hope it helps


answered 16.03 at 00:57

ToanLC's gravatar image

accept rate: 25%

Thanks @ToanLC I have one concern that if ES auto change to use new port, can Ivy connect to it via that port? With ES we can define the fix port in config file but i don't see any config like that on ivy engine

(11 hours ago) trungdv trungdv's gravatar image

You can set the URL to your elastic search server with a system property: Elasticsearch.ExternalServer.Url then ivy does not start an elastic search instance by a random port...


answered 2 hours ago

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 69%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 09.03 at 01:48

Seen: 38 times

Last updated: 2 hours ago