Score:0

can use psql on localhost but not on the server fully qualified name

th flag

From my server (Centos 8)

data.mycompany.edu

I can open a psql session using

psql -h localhost -p 7432 -U myusername mydb

However, if I use

psql -h data.mycompany.edu -p 7432 -U myusername mydb

I get the next message:

psql: /usr/pgsql-12/lib/libpq.so.5: no version information available (required by psql)
psql: /usr/pgsql-12/lib/libpq.so.5: no version information available (required by psql)
psql: could not connect to server: Connection refused
        Is the server running on host "data.mycompany.edu" (some IP ADDRESS) and accepting
        TCP/IP connections on port 7432?

I opened this port as:

sudo firewall-cmd --list-all
   ...
  ports: 58080/tcp 58009/tcp 80/tcp 8009/tcp 55432/tcp 7432/tcp
  protocols: 
  ...

Any ideas?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.