Bitcoin Forum
December 06, 2016, 08:34:29 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Litecoind: port 9332 closed for the network?  (Read 4960 times)
LoWang
Full Member
***
Offline Offline

Activity: 145



View Profile
March 11, 2012, 02:17:28 AM
 #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?
1481013269
Hero Member
*
Offline Offline

Posts: 1481013269

View Profile Personal Message (Offline)

Ignore
1481013269
Reply with quote  #2

1481013269
Report to moderator
1481013269
Hero Member
*
Offline Offline

Posts: 1481013269

View Profile Personal Message (Offline)

Ignore
1481013269
Reply with quote  #2

1481013269
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481013269
Hero Member
*
Offline Offline

Posts: 1481013269

View Profile Personal Message (Offline)

Ignore
1481013269
Reply with quote  #2

1481013269
Report to moderator
bitcoinsarefun
Member
**
Offline Offline

Activity: 98



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

Activity: 145



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



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

Activity: 145



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

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

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!