1

Temat: communicate with the Postgresql server without logging in the server

hi...
I am new to Postgresql, i had developed an application that runs on client machine on RHEL and it take data form a database server running on  Postgresql on RHEL Server.
I wants that  the client shall able to communicate with the Postgresql server without logging in the  server machine and starting the database manually (Only power on i want to do at server no user login).
I had executed the command
# /sbin/chkconfig --list | grep postgresql
postgresql         0:off    1:off    2:on    3:on    4:on    5:on    6:off

but still i am not able to communicate with the Postgresql server.
I had tried to connect with server from client using following command:
# psql -U user1 -p 5437 -h 10.2.74.214 DataBaseName

psql: could not connect to server: Connection refused

    Is the server running on host "10.2.74.214" and accepting

    TCP/IP connections on port 5437?

I am able to ping the Postgresql server.
Please help me to sort-out this problem.

2

Odp: communicate with the Postgresql server without logging in the server

Ostatnio edytowany przez grzechu (2012-10-04 13:45:43)