I have Litecoin Core Installed and I am attempting to start the litecoind -daemon.
I am unsure what directory the litecoin.conf should be installed in. I have it installed into the Litecoin Data directory as follows: /home/ltc/.litecoin. This is the directory that all of the litecoin data is stored such as the blocks, wallet, etc.
Here is what my Litecoin.conf file looks like. I edited out the user name and password.
rpcuser=username
rpcpassword=password
rpcport=2300
daemon=1
server=1
gen=1
I then start the litecoind - daemon and I let it run for a minute and then issue the following command litecoin-cli getinfo as shown below:
I then get the message cannot connect to the server. Make sure litecoind server is running and that you are connected to the correct RPC Port.
I tried running litecoind -daemon -datadir=/home/ltc/.litecoin/ with no success. I get the same results.
I tried running litecoind -daemon with every option in the conf file with the exception of Gen=1 with no success. I still get the same results.
What am I doing wrong and how can I fix it. Thanks Again for any assistance.