Hi,
check your chncoin.conf in %appdata%\Roaming\Chncoin for typos.
I have seen many posts where people type rcpcallowip instead of r
pcallowip
If you are running both CHNCoin-qt and cgminer on the same computer, setting rpcallowip to 127.0.0.1 and passing that IP to cgminer should work. Type the IP not 'localhost' - in case something is wrong with your OS environment settings.
Double check that the ports (in bold below) are the same in both the client chncoin.conf and cgminer command line options.
chncoin.conf:
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rpcport=
8108port=8106
daemon=1
server=1
gen=0
and run cgminer with:
cgminer --scrypt -o 127.0.0.1:
8108 -u username -p password
If this does not work check if your firewall is not blocking the connections on the ports in your chncoin.conf.
If you are using Windows check that the conf file is actually named chncoin.conf and not chncoin.conf
.txt - Notepad "feature"