geth —testnet —syncmode fast —rpc —rpcapi db,eth,net,web3,personal —cache=1024 —rpcport 8545 —rpcaddr 127.0.0.1 —rpccorsdomain "*"
Or
geth —rinkeby —syncmode "fast" —rpc —rpcapi db,eth,net,web3,personal —cache=1024 —rpcport 8545 —rpcaddr 127.0.0.1 —rpccorsdomain "*"
It always ran when I entered the truffle console after running, but suddenly
Could not connect to your Ethereum client. Please check that your Ethereum client: - - is running - - is accepting RPC connections (i.e., "--rpc" option is used in geth) - - is accessible over the network - - is properly configured in your Truffle configuration file (truffle.js)
These errors are frequent.
geth works normally, but I don't know why the error appears no matter how much I look for it.
Even if I ask the tutorial company, they say they don't know
I got it all right with port 8545 and there is no problem with setting the truffle.js file.
If there is anything different than before, you must enter the sudo geth --ipcdisable command when you run geth.
Has anyone experienced this problem?
ethereum truffle geth
Did you paste the above command? You used — when you gave the option, but it's a different character than -.
If you used —, I think truffle console didn't work because it was the same as just geth
Please paste this and try it. If you can't, please reply!
geth -rinkeby -syncmode "fast" -rpc -rpcapi db,eth,net,web3,personal -cache=1024 -rpcport 8545 -rpcaddr 127.0.0.1 -rpccorsdomain "*"
1824 Uncaught (inpromise) Error on Electron: An object could not be cloned
3145 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
2003 I want to connect to the webcam from WSL(ubuntu)
1840 I want to run pyautogui without remote connection on Windows 10 in the cloud
© 2026 OneMinuteCode. All rights reserved.