For solo mining,
my coind command: -server -rpcuser=aaa -rpcpassword=123456 -rpcport=8100
my cudaminer command: -o
http://127.0.0.1:8100 -O aaa:123456 -C 1 -i 0 -H 1 -l F14x16
This is what I usually have...
listen=1
daemon=1
server=1
rpcuser=User
rpcpassword=user
rpcallowip=all
rpcport=7785
rpcconnect=127.0.0.1