Bitcoin Forum
June 22, 2024, 06:47:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Litecoind: port 9332 closed for the network?  (Read 5339 times)
LoWang (OP)
Full Member
***
Offline Offline

Activity: 147
Merit: 100



View Profile
March 11, 2012, 02:17:28 AM
Last edit: March 11, 2012, 02:29:55 AM by LoWang
 #1

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?
bitcoinsarefun
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile
March 11, 2012, 02:24:11 AM
 #2

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
LoWang (OP)
Full Member
***
Offline Offline

Activity: 147
Merit: 100



View Profile
March 11, 2012, 02:26:33 AM
 #3

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
bitcoinsarefun
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile
March 11, 2012, 02:29:24 AM
 #4

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.*
LoWang (OP)
Full Member
***
Offline Offline

Activity: 147
Merit: 100



View Profile
March 11, 2012, 02:35:32 AM
 #5

oh yeah thanks!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!