[Lazarus] Connecting to a Postgres Database

Damien Gerard milipili at shikami.org
Sun May 25 21:29:00 CEST 2008


Le May 25, 2008 à 9:19 PM, Dave Coventry a écrit :

> On Sun, May 25, 2008 at 6:49 PM, zeljko <zeljko at holobit.net> wrote:
>> postgres transactions ? I don't understand.
>> If U can connect to XXX server usualy at port 5432 then it works,  
>> or it
>> returns exception like : Is the server XXXXX running on port 5432 ?  
>> etc ...
>
> I see.
>
> So, if I put http://192.168.1.20:5432 into my browser, then I should
> see a message from postgreSQL? or an error message if it isn't
> working?
>

Postgres is not a web server.
See yours logs and pgAdmin to know what postgres is doing

However you can try a telnet to know if postgres is listening
# telnet <your server ip address>  5432


--
Damien Gerard
milipili at shikami.org

"Intelligence is 10 million rules."
    -- Douglas Lenat









More information about the Lazarus mailing list