• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Failed to connect to 127.0.0.1 port 9

ssnehan

New member
I've been cpu mining for about 5 months on a windows 8.1 pro machine. For the past two days I've been getting that error message. On my batch file it says could not connect retrying in 30 seconds. Could someone please help me? Please don't tell me cpu mining isnt feasible anymore. I don't do it for the profit. I love the whole DRK anonymity idea :)
 

Attachments

  • error.png
    error.png
    16.9 KB · Views: 192
  • error1.png
    error1.png
    125 KB · Views: 175
Port 9332 is a weird port. Darkcoin uses 9999 for the main and 9998 for RPC users. You want to use 9998.

You'll need to edit your config file of the wallet to allow an incoming connection from your local network and also match the RPC username and password to actually connect.

Bash:
listen=1
daemon=1
server=1
rpcuser=ssnehan
rpcpassword=GrumpyCats
rpcport=9998
rpcconnect=127.0.0.1
rpcallowip=Local IP of miner. 192.168.1.3

To be perfectly honest though, it's not feasible to mine solo with a CPU. The odds of you finding a block are very slim. You'll have way better luck mining with a pool.
 
Thanks for the reply mate. Btw I was pool mining on simpledrk.com
My darkcoin.conf used to look like this:

rpcuser=ANYUSERNAME
rpcpassword=ANYPASSWORD
rpcallowip=localhost
rpcconnect=localhost
rpcport=9999
DNSSEED=1
testnet=0
daemon=1
server=1
listen=0
maxconnections=50
addnode=54.186.169.204:9999
addnode=218.173.65.159:9999
addnode=87.121.52.39:9999
addnode=2.102.39.25:9999
addnode=54.88.143.232:9999
addnode=91.51.58.49:9999
addnode=188.226.252.28:9999
addnode=5.144.69.107:9999
addnode=23.23.186.131:9999
addnode=50.16.206.102:9999
addnode=50.19.116.123:9999
addnode=98.165.130.67:9999
addnode=54.242.50.205:9999
addnode=50.17.98.53:9999
addnode=80.101.118.145:9999
addnode=87.68.99.93:9999
addnode=204.27.60.6:9999
addnode=184.73.179.187:9999
addnode=23.97.152.175:9999
addnode=91.118.142.223:9999
addnode=162.252.83.46:9999
addnode=23.23.186.131:9999

It worked fine until about 2 days back. My cpu miner keeps saying it will reconnect in 30secs. When i double-click minerd.exe it bind to my cpu then says HTTP request failed to connect to 127.0.0.1 port 9332 . That still happens even after having changed the configuration file to the one you posted. Thanks for trying :)
 
Back
Top