When I run the following command, I can get a successful result.
root @ubuntu: / home / can # radtest user password 127.0.0.1 1812 testing123
Sending an access request from a port with a code from 78 to 127.0.0.1 1812
User-Name = "user"
User-Password = "password"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00000000000000000000000000000000
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id = 78, length = 20
However, when I run "freeradius -X", I get an error message as follows:
.....
Failed to bind to authentication address * port 1812: address already in use /etc/freeradius/radiusd.conf[250]: Port bind error for port 0.0.0.0 1812
Please help me
Thank you for your efforts.
Can
source
share