.....
I'm also getting this error,
On my lncli cmd window when i type
lncli getinfo the terminal shows this
C:\lnd>lncli unlock
Input wallet password:
lnd successfully unlocked!
C:\lnd>lncli getinfo
[lncli] rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:10009: connectex: No connection could be made because the target machine actively refused it."
and on my lnd terminal it shows this
C:\lnd>lnd
2025-08-05 15:25:00.255 [WRN] LTND: Config 'bitcoin.active' is deprecated, please remove it
2025-08-05 15:25:00.255 [INF] LTND: Version Info rev=a83945 version=0.19.2-beta commit=v0.19.2-beta debuglevel=production logging=info
2025-08-05 15:25:00.255 [INF] LTND: Network Info rev=a83945 active_chain=Bitcoin network=mainnet
2025-08-05 15:25:00.255 [INF] RPCS: RPC server listening on 127.0.0.1:10009
2025-08-05 15:25:00.265 [INF] RPCS: gRPC proxy started at 127.0.0.1:8080
2025-08-05 15:25:00.275 [INF] LTND: Opening the main database, this might take a few minutes...
2025-08-05 15:25:00.276 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2025-08-05 15:25:00.276 [INF] LTND: Creating local graph and channel state DB instances
2025-08-05 15:25:00.276 [INF] CHDB: Checking for schema update: latest_version=33, db_version=33
2025-08-05 15:25:00.276 [INF] CHDB: Applying 2 optional migrations
2025-08-05 15:25:00.276 [INF] CHDB: Checking for optional update: name=prune_revocation_log
2025-08-05 15:25:00.276 [INF] CHDB: Checking for optional update: name=gc_decayed_log
2025-08-05 15:25:00.276 [INF] LTND: Database(s) now open (time_to_open=0s)!
2025-08-05 15:25:00.276 [INF] LTND: We're not running within systemd or the service type is not 'notify'
2025-08-05 15:25:00.276 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.
2025-08-05 15:25:11.104 [INF] BTWL: Opened wallet
2025-08-05 15:25:11.196 [INF] RPCC: Established connection to RPC server 127.0.0.1:8332
2025-08-05 15:25:11.196 [INF] RPCC: Established connection to RPC server 127.0.0.1:8332
2025-08-05 15:25:11.456 [ERR] LTND: unable to create partial chain control: status code: 401, response: ""
2025-08-05 15:25:11.456 [ERR] LTND: Shutting down due to error in main method rev=a83945 err="unable to create partial chain control: status code: 401, response: \"\""
2025-08-05 15:25:11.457 [INF] LTND: Shutdown complete
error creating wallet config: unable to create partial chain control: status code: 401, response: ""
Specially this portion.
2025-08-05 15:25:11.456 [ERR] LTND: Shutting down due to error in main method rev=a83945 err="unable to create partial chain control: status code: 401, response: \"\""
2025-08-05 15:25:11.457 [INF] LTND: Shutdown complete
error creating wallet config: unable to create partial chain control: status code: 401, response: ""