![]() |
| PostgreSQL? |
|
bobum
Elvis Fanatic
![]()
|
Ok - we're installing a new PostgreSQL server here at work to run SourceForge...I can connect fine when I shell into the Linux box. But I am havin g probs getting into the db via the web. Anyone have any experience with PostgreSQL? Mosre specifically 8.0 and how to get it to listen to TCP/IP sockets instead of just the local Unix socket?
I'm playing with the postgres.conf and pg_hba.conf files now... |
||||||||||||
|
|
|||||||||||||
| PostgreSQL |
|
joe
|
You need to set tcpip_socket=true in postgresql.conf. The default listening port should be 5432. I hope this helps!
|
||||||||||||
|
|
|||||||||||||
|
bobum
Elvis Fanatic
![]()
|
It certainly did - I started looking into the TCPIP stuff as you suggested and found that in the latest version of PostgreSQL they have combined all of that into a single "listen_addresses = " line
I made that listen_addresses='*' and it worked like a charm Thanks! |
||||||||||||
|
|
|||||||||||||
| sql |
|
joe
|
No problem. I'm glad I was able to help!
|
||||||||||||
|
|
|||||||||||||
| PostgreSQL? |
|
||
|



