Thread: PG 8.3.7. Windows 7. select inet_server_addr() returns ::1 - the loopback adrs.
PG 8.3.7. Windows 7. select inet_server_addr() returns ::1 - the loopback adrs.
From
"Abraham, Danny"
Date:
The machine is on IPV4.
How can I retrieve the real IP adrs?
Is 8.3.7 supported on Windows 7?
Thanks a lot
Danny Abraham
BMC Software
CTM&D Business Unit
972-52-4286-513
danny_abraham@bmc.com
Re: PG 8.3.7. Windows 7. select inet_server_addr() returns ::1 - the loopback adrs.
From
"A. Kretschmer"
Date:
In response to Abraham, Danny : > The machine is on IPV4. > > How can I retrieve the real IP adrs? kretschmer@tux:~$ psql -h localhost test Password: Timing is on. psql (8.4.2) SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) Type "help" for help. test=# select inet_server_addr(); inet_server_addr ------------------ 127.0.0.1 (1 row) Time: 0.529 ms test=*# \q kretschmer@tux:~$ psql -h 10.0.0.102 test Password: Timing is on. psql (8.4.2) SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) Type "help" for help. test=# select inet_server_addr(); inet_server_addr ------------------ 10.0.0.102 (1 row) Time: 0.500 ms You can see the difference? > > Is 8.3.7 supported on Windows 7? I think yes, but i'm not sure. Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99