View Single Post
  #2   (View Single Post)  
Old 10th January 2013
ershiba ershiba is offline
Loading, please wait...
 
Join Date: Dec 2012
Posts: 34
Default

i think maybe this line is important from
$ vi /var/postgresql/data/pg_hba.conf
Code:
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
host    all             all             192.168.56.0/24         md5

$ vi /var/postgresql/data/postgresql.conf
Code:
# - Connection Settings -
listen_addresses = '192.168.56.200,127.0.0.1'
these are the only 2 files i modified,
ifconfig as below
Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 08:00:27:78:0b:93
        priority: 0
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet6 fe80::a00:27ff:fe78:b93%em0 prefixlen 64 scopeid 0x1
        inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 08:00:27:c8:40:b9
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.56.200 netmask 0xffffff00 broadcast 192.168.56.255
        inet6 fe80::a00:27ff:fec8:40b9%em1 prefixlen 64 scopeid 0x2
Reply With Quote