| От | Andreas Kretschmer |
|---|---|
| Тема | Re: [despammed] port connection number?! |
| Дата | |
| Msg-id | 20050406142249.GC20888@webserv.wug-glas.de обсуждение |
| Ответ на | port connection number?! (SG Edwards <s0460205@sms.ed.ac.uk>) |
| Список | pgsql-novice |
am 06.04.2005, um 14:48:19 +0100 mailte SG Edwards folgendes: > > Hey guys, > > I am trying to connect to a Postgres database using a PHP script but get the > error: > > "unable to connect to PostgreSQL server: could not connect to server: Connection > refused; > is the server running on host "localhost" and accepting TCP/IP connections on > port 5432?" > > How can I find out which port the Postgres database is using? How can I fix > this? Please read the manual for ph_hba.conf. You must configure your pg-server to listen on tcp. Check it with netstat. Regards, Andreas. -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47212, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера