when i start litecoind server in my vm . i can’t connect rpc server in my physical pc. so i config rpcbind my vm ip and rpcallowip my physical pc ip , then i can connect to rpc server from my physical pc. but litecoin-cli is can conenct in my vm .
are you sure that you set rpcbind correctly?
did you set the rpcusername/pass?
that is usually required
config like this.
i sure is right ，i can connect from 192.168.61.1 to 192.168.61.129 rpc server