This is what I get when I followed the steps above:
Make sure the ltcoind server is running and that you are connecting to the correct RPC port.
error: timeout on transient error: Could not connect to the server 127.0.0.1:14131 (error code 1 - "EOF reached")