2010/11/6 Deni Alexander <[email protected]>:
> 1. pastikan klo memang sdh bisa konek ke pgsql via tcp.: login ke
> server nya jalankan:
>
>      $ psql -h <ip_server_arah _k_network> -U <user> -d <db_name>
>   klo fail silahkan cek lg /var/lib/pgsql/data/pg_hba.conf.
>   klo ok baru:
>
> 2. cek firewall. Untuk memastikan masalahnya memang di firewall: flush
> dulu iptables nya
>
>   $sudo iptables -F
>  coba konek via network. klo ok berarti config iptables betulin lg.
>  klo fail -sy sendiri jg bingung :)
>
> D.A
> On Fri, Nov 5, 2010 at 9:34 AM, Aditya Agustyana <[email protected]> 
> wrote:
>> dear linuxer
>>
>> sy ada keperluan untuk mengakses postgresql di server Ubuntu Lucid via 
>> internet
>> sudah coba mengikuti tutorial ini
>> http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html
>>
>> tapi sy stuck di step5
>> karena gak ada iptables di /etc/init.d/
>
> --
> FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
> Unsubscribe: kirim email ke [email protected]
> Arsip dan info milis selengkapnya di http://linux.or.id/milis
>
>

makasih rekan2 buat semua sarannya

solusinya dah ketemu, ternyata di ubuntu lucid untuk manage firewall
mesti pake UFW https://help.ubuntu.com/community/UFW

untuk ngebuka port postgresql cukup ketik

sudo ufw allow 5432/tcp
sudo ufw allow 5432/udp



-- 
blog : http://adityakircon.blogsome.com
ym / twitter : kirconboy
skype : adit_skype

Be Nice. Treat others with the same respect you'd want them to treat
you. We're all here to learn together.  Be tolerant of others who may
not know everything you know. BRING YOUR SENSE OF HUMOR
(stackoverflow.com)

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [email protected]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke