ipv6 address in users file

Kamil Jońca kjonca at o2.pl
Mon Mar 30 10:08:01 CEST 2020


Marcin Romanowski <marcin at nicram.net> writes:

[...]
> rlm_sql_postgresql: Connecting using parameters: dbname=bcman
> host=localhost user=bcman password=bcman
> rlm_sql_postgresql: Connection failed: could not connect to server:
> Connection refused Is the server running on host "localhost" (127.0.0.1)
> and accepting TCP/IP connections on port 5432?
[...]

Have you tried connect to postgres with psql?
message above clearly stated that radius can't connect to postgres on
localhost. Return back when
something like:

psql -h localhost -U bcman  -d bcman

asks you for password.
KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html


More information about the Freeradius-Users mailing list