Hi Experts,
How to connect to postgres, elastic search server in linux, ubuntu on AWS to with Dango-cms or Wagtail cms from dev machine on windows
Please tell me how elastic search details are stored in database and how to connect to do a elastic search which is in postgres database.
All indexes of elastic search is stored in postgres sql. How will i connect to postgres from windows dev machine.
And How can I access the postgres database in ubuntu aws to development machine have django-cms or wagtail cms on windows.
ES_CONNECTION=172.17.0.1:9200,
database connection string is created with dj_database_url the connection string is DATABASE=postgres://user:password@server/database.
Please help me,
I get the following error when I build the wagatail cms - based on python
python manage.py makemigrations
throws the below error.
django.db.utils.OperationalError: could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "172.17.0.1" and accepting
TCP/IP connections on port 5432?
I connect string sample postgres sample is postgres://test1:test2@172.17.0.1/database
When I go inside the aws machine through putty (ssh) 54.*.*.*:22
then
telnet 172.17.0.1 5432
It is connection is success full.
but not able to connect from outside aws machine from a windows pc (development machine).
With Many Thanks,
Bharath AK
ASKER
In elasticsearch.yml [on ubuntu machine - aws ] is network.host=172.17.0.1 Do I have to provide external ip address for this network.host? or this 172.17.0.1 is okay? For postgressql I am connecting like DATABASE=postgres://user:p
I had tried by providing the external ip address to network.host in elastic search.yml and postgres database connection DATABASE=postgres://user:p
Still getting the same error, with ipaddress changed? Please correct where I am wrong
With Many Thanks
Bharath AK