I want to connect to my running geth --testnet
.
If I run geth --testnet attach
, just like geth attach
I get :
Fatal: Unable to attach to remote geth: dial unix /user/.ethereum/geth.ipc: connect: no such file or directory
Which is normal, because geth.ipc
is not in .ethereum
but in .ethereum/testnet
.
Is there a way to use an option to make geth look for geth.ipc
in the right folder when I'm using the testnet ?
It can be a little heavy to write full ipc path every time (Right now I use geth attach ipc:/path/to/ipc
and often start it by hand).
Edit:
I found an open issue on github that suggests there is no way to use options with attach
yet. I'm now only asking for ways to do it faster than writing full path.
geth attach http://127.0.0.1:8545