Bitcoin Forum

Bitcoin => Mining support => Topic started by: LoWang on March 11, 2012, 02:17:28 AM



Title: Litecoind: port 9332 closed for the network?
Post by: LoWang on March 11, 2012, 02:17:28 AM
Hello, I am trying to solo mine LTC, so I have started litecoind with
server=1 and daemon=1 in litecoin.conf...and of course rpcuser and prcpassword set.
I can connect to it from localhost with pooler's minerd like this
minerd.exe --algo scrypt --s 6 --threads 2 --url http://127.0.0.1:9332 --userpass user:password
but cannot connect like this from another computer on the LAN! Neither hostname or ip address works in the --url field. I can ping it but the port scan shows 9332 to be closed while 9333 is open. But I believe 9333 is just for the litecoind upstream and not for incoming connections right? Firewall does not seem to be blocking anything. Do I understand it wrong?


Title: Re: Litecoind: port 9332 closed for the network?
Post by: bitcoinsarefun on March 11, 2012, 02:24:11 AM
Hello, I am trying to solo mine LTC, so I have started litecoind with
server=1 and daemon=1 in litecoin.conf
I can connect to it from localhost with pooler's minerd like this
minerd.exe --algo scrypt --s 6 --threads 2 --url http://127.0.0.1:9332 --userpass user:password
but cannot connect like this from another computer on the LAN! Neither hostname or ip address works in the --url field. I can ping it but the port scan shows 9332 to be closed while 9333 is open. But I believe 9333 is just for the litecoind upstream and not for incoming connections right? Firewall does not seem to be blocking anything. Do I understand it wrong?

You have to add the following to your litecoin.conf

rpcuser=rpcuser
rpcpassword=SOMERANDOMPASSWORD


Title: Re: Litecoind: port 9332 closed for the network?
Post by: LoWang on March 11, 2012, 02:26:33 AM
I have it there. If I did not then I could not connect with a minerd even from a local host would I?

Code:
rpcuser=myusername
rpcpassword=mypassword

#Uncomment this if you want to have the client mine for you.
#gen=1

#Change this if you want to use a different rpc port for mining
#rpcport=9332

#Only uncomment this if you are running litecoind and want to run Litecoin in the background (not Litecoin QT)
daemon=1


Title: Re: Litecoind: port 9332 closed for the network?
Post by: bitcoinsarefun on March 11, 2012, 02:29:24 AM
I have it there. If I did not then I could not connect with a minerd even from a local host would I?

Code:
rpcuser=myusername
rpcpassword=mypassword

#Uncomment this if you want to have the client mine for you.
#gen=1

#Change this if you want to use a different rpc port for mining
#rpcport=9332

#Only uncomment this if you are running litecoind and want to run Litecoin in the background (not Litecoin QT)
daemon=1

You also need this, just change the subnet to whatever you use locally ...

rpcallowip=192.168.1.*


Title: Re: Litecoind: port 9332 closed for the network?
Post by: LoWang on March 11, 2012, 02:35:32 AM
oh yeah thanks!