Forum Discussion
wahmed20
Resolver I
3 years agoConnecting computer code to notebook
There are some code which can work only in your computer. For example accessing elasticsearch using python client.
from elasticsearch import Elasticsearch
es = Elasticsearch(
hosts=[{'host': 'ip', 'port': 9200}],
http_auth=('name', 'username'),
)
Where the ip is the ip on which elasticsearch is running. This ip can run from my computer only. I want to run this code on the notebook of fabric. What setup I should do in this regrad?