Hi All,
After running solana-test-validator on arch linux, I tried to test solana balance which is showing following error.
Error: RPC request error: cluster version query failed: error sending request for url (http://localhost:8899/): error trying toconnect: │ tcp connect error: Connection refused (os error 111) │
I tried to check
Systemctl status rpcbind (to check whether rpc server is running or not)
it shows its active
netstat -tuln 8899 (to check 8899 port is listening to or not)
is shows its listening
sudo systemctl stop iptables.service (Tried to disable firewall temporarily)
But still the same error is facing
I tried by changing older versions also but none worked. Currently these are versions I am using
arch-linux 2023
solana-cli 1.14.17
rustc 1.67.1
anchor-cli 0.26.0
Please help if possible, thanks in advance.