I can’t access remotely to a PostgreSQL, with pgAdmin database installed on an Ubuntu 16.04 droplet, with the Wordpress one install.
I would like to import a dump file, with the database settings from my local computer.
In the postgresql.conf file I have set:
listen_addresses = ‘*’
Running SHOW listen_addresses; I get localhost (1 row)
and in the pg_hba.conf one:
host all all 0.0.0.0/0 md5
But each time, that I try to connect from pgAdmin at my local computer I get this message: could not connect to server: Connection timed out (0x0000274C/10060) Is the server running on host “18.104.22.168” and accepting TCP/IP connections on port 5432?
Any help would be much appreciated. Thanks in advance, Aleix Alcover
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!