I am new to Ethereum and tried everything to connect testnet from two local machine nodes.
I have a geth node running on a small server. I want to connect to it via geth attach from my local computer. I can’t figure out how to do it: I tried starting it will all different kinds of configs, like:
geth --rpcapi --wsapi --rpc
but when I locally do:
geth attach http://IP_ADDRESS:8545
I always just get this:
Fatal: Unable to attach to geth node - Invalid endpoint
Any idea how to start the node on the server?