Re: psql: could not connect to server: Network is

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



markos <el96645@xxxxxxxxxxxx> writes:
> psql -h localhost -U markulis
> psql: could not connect to server: Network is unreachable
>         Is the server running on host "localhost" and accepting
>         TCP/IP connections on port 5432?

Hm.  "Network is unreachable" means that you have got a networking
problem not a database problem.  You'll probably find that simple
commands like "ping localhost" don't work either.  The problem could
be a DNS issue --- what does "nslookup localhost" say?  If it comes
back with something reasonable, then you've got a kernel
misconfiguration issue, which I don't think I can help you with.

			regards, tom lane


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux