Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.8K
Views
no se pudo conectar al servidor: Conexión rechazada (0x0000274D/10061) PostgreSQL

Uso AWS y quiero conectar postgresql pero tengo el problema

 Unable to connect to server: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "xx.xxx.xx" and accepting TCP/IP connections on port 5432?

En server stay ubuntu 18.04, instalé postgres y usé este comando:

 sudo sh -c 'echo "local all all trust" >> /etc/postgresql/12/main/bg_hba.conf' sudo sh -c 'echo "host all all 127.0.0.1/32 trust" >> /etc/postgresql/12/main/bg_hba.conf' sudo sh -c 'echo "host all all 0.0.0.0/0 trust" >> /etc/postgresql/12/main/bg_hba.conf' sudo nano /etc/postgresql/12/main/postgresql.conf listen_addresses = '*' sudo service postgresql restart

Sí, eliminé '#'

 ubuntu@ip-xxxxxxxxxx:~$ sudo netstat -ltpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6462/nginx: master tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 629/systemd-resolve tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1040/sshd tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 20516/postgres tcp 0 0 127.0.0.1:5433 0.0.0.0:* LISTEN 20539/postgres tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 16863/master tcp 0 0 0.0.0.0:5434 0.0.0.0:* LISTEN 20517/postgres tcp6 0 0 :::80 :::* LISTEN 6462/nginx: master tcp6 0 0 :::8080 :::* LISTEN 5975/java tcp6 0 0 :::22 :::* LISTEN 1040/sshd tcp6 0 0 :::25 :::* LISTEN 16863/master tcp6 0 0 :::5434 :::* LISTEN 20517/postgres

Conexión desde pgAdmin4 ¿Qué no hice bien? Gracias por responder si usé los comandos que mostré.

 ubuntu@ip-xxxxxxxx:~$ sudo -i -u postgres postgres@ip-xxxxxxxx:~$ psql psql (12.2 (Ubuntu 12.2-2.pgdg18.04+1), server 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1))
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

¿Ha validado los grupos de seguridad para su instancia de RDS? ¿La instancia de RDS está en una subred pública o privada? ¿Es una instancia de RDS interna o externa?

Sin embargo, necesita alguna configuración de red adicional para identificar con precisión, a partir de la información proporcionada, no se puede conectar.

over 4 years ago · Santiago Trujillo Report

0

agradable

about 4 years ago · Henrique Albernaz Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!