0

enter image description hereIf I use my

geth --identity "MyNodeName" --rpc --rpcport "8545" --rpccorsdomain "*" 
--datadir Users/aydinabadi/TestChain1 --port "30303" --rpcaddr 
"127.0.0.1"  --nodiscover --rpcapi "db,eth,net,web3,personal" -- 
networkid 123 init /Users/xxxx/CustomGenesis.json


 geth --identity "MyNodeName" --rpc --rpcport "8545" --rpccorsdomain 
 "*" --datadir Users/xxxx/TestChain1 --port "30303" --nodiscover -- 
 rpcapi "db,eth,net,web3,personal" --networkid 123 console

Everything works fine. But if I change rpcaddr "127.0.0.1" to a static address like 129.215.199.18 and run the above code, i will get the following warning in geth:

Failed account unlock attempt            
address=0x621C385fe616fBe096322E71d6f02631d520C1Ca 
err="could not decrypt key with given passphrase"

Note that this is the only account I had. Even if I try to unlock my account once I keep getting the above warning. It also prevents me to deploy the contract to the blockchain if I use remix and metamask. But I will not have any issue if I use rpcaddr "127.0.0.1" in the above command line.

Also, when I send only one transaction via geth, the console keeps saying that a transaction has been submitted.

enter image description here

Question: What is the problem?

0

Sure, this is brute-force attack try to unlock account and send out tnx. Never never never open up rpc port public

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.