Thanks for the answers. I also had the following in the bitbean.conf:
server = 1
rpcuser = user
rpcpassword = password
rpcport = 22461
port = 22460
It is necessary to put them or I would have to add something else.
Try to install a new version of the wallet first. Then add the nodes to the empty beancash.conf file. Start the wallet and wait for a while. This is all that I did on my wallet, where there were difficulties with the connections, and not only with the coins of Bean Cash.