Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Managed PostgreSQL
    • Recovering a Managed Services for PostgreSQL cluster after its disks become Read Only
    • You are unable to delete your Managed Service for PostgreSQL cluster in the Dead status if deletion protection was enabled for it
    • Managed Service for PostgreSQL cluster switches to the Unknown state immediately after creation
    • Resolving issues with updating configurations of clusters with local-ssd disks
    • Resolving the consequences of cluster storage overflow with WAL logs
    • Resolving the psql error "could not translate host name to address nodename nor servname provided, or not known"
    • Resolving the error Unrecognized configuration parameter "stats_temp_directory"
    • Resolving the "max_connections conn_limit is too high" error
    • Resolving the "422 UNPROCESSABLE ENTITY The specified extension <'ext_name'> is not present in shared_preload_libraries" error
    • Understanding the Conn limit parameter
    • How to set up SQL query filtering
    • How to enable SQL query logging

In this article:

  • Issue description
  • Solution
  1. Managed PostgreSQL
  2. Resolving the psql error "could not translate host name to address nodename nor servname provided, or not known"

Resolving the psql error: "error: could not translate host name to address: nodename nor servname provided, or not known"

Written by
Yandex Cloud
Updated at November 27, 2023
  • Issue description
  • Solution

Issue descriptionIssue description

You have no public access to the PostgreSQL cluster and see this error:

psql: error: could not translate host name to address: nodename nor servname provided, or not known

SolutionSolution

Check whether public access to PostgreSQL cluster hosts is enabled. A host in the cluster could be accessible from outside Yandex Cloud if public access was enabled when creating the host or updating its settings.

If public access is disabled, enable it.

In the documentation, you can find a guide for connecting to a database in a PostgreSQL cluster.

Was the article helpful?

Previous
Resolving the consequences of cluster storage overflow with WAL logs
Next
Resolving the error Unrecognized configuration parameter "stats_temp_directory"
© 2025 Direct Cursus Technology L.L.C.