1

I am running a full node in a testnet and I am trying to connect a light node. I am using the following command:

geth --datadir node1 --port 30313 --rpc --rpcport 3013 --rpcaddr 127.0.0.1 --ipcpath node1/geth.ipc --rpcapi="db,eth,net,web3,personal" --networkid 15 --rpccorsdomain "*" --ws --wsaddr 127.0.0.1 --wsport 3113 --wsorigins "*" --syncmode light 

I am using static-nodes.json and admin.addPeer() but they dont work, but if I try to connect another full node in the same way, everything works. Any idea how can I connect a light node peer?

My Geth version is 1.8.19

1 Answer 1

1

SOLUTION:

It is necessary to add in the full node: --lightserv

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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