Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I am trying to send data to ealasticsearch remotely (from a different droplet). In the python code I am using there is a call to something in the python elasticsearch module that looks like this:
es = Elasticsearch([{‘host’:‘http://139.59.255.61’,‘port’:9200}])
where 139.59.255.61 is the address of the droplet running elasticsearch.
But this does not seem to work. I have tried other ways of doing it but they are not working. On the other hand running this from the remote host does seem to connect curl http://139.59.255.61:9200/
Here is the error message Traceback (most recent call last): File “T2Remote.py”, line 108, in <module> stream.filter(locations=GEOBOX_WORLD) File “/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/tweepy/streaming.py”, line 445, in filter self._start(async) File “/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/tweepy/streaming.py”, line 361, in _start self._run() File “/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/tweepy/streaming.py”, line 294, in _run raise exception elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f2ae85aefd0>: Failed to establish a new connection: [Errno -2] Name or service not known) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f2ae85aefd0>: Failed to establish a new connection: [Errno -2] Name or service not known) root@elk:/usr/bin#
lwmeozrcbh
d1dd3d9538cc4d06b53e6d1d338d3f
50ff4e4b3c6c4999a12403b1ecda95
a6309a057c3f4cb38fb2e7feb67236
72e571841e7f4a6881090a2f3e93c0
7ce6bf277bff4d429ba493dd750e35
57a72a98162f46a5a5cd04d9b
Thomas Brocken
11575c6d695643cdb40ad47d0f1aea
tez.saad