Re: Canot access PostgreSQL via psql -h (Vmware Fusion)

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

 



On Fri, Aug 24, 2012 at 7:08 AM, Kevin Grittner
<Kevin.Grittner@xxxxxxxxxxxx> wrote:
> CS DBA <cs_dba@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> I've fired up 2 CentOS 6.2 VM's via vmware fusion 5 (on a mac).
>
>> psql -h 192.168.91.145
>> psql: could not connect to server: No route to host
>
> That problem has nothing to do with PostgreSQL; you might have
> better luck on a list related to the other technologies.
>
> FWIW, on Linux I would start with `netstat -plnt` to see if the
> process was listening on the expected port and host address.

Or even simpler, do

  ifconfig

and make sure that you have the right IP address, followed by "ping
192.168.91.145" (assuming that's the right address) to see if your
network is even running. Another thing to try:

  psql -h localhost

Craig


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[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