In my computer i have 1 full node, my full node is running using: geth --syncmode full --ws --wsport 8546. Is there anyway to create a light node to connect to that full node on the same local network manually?


Yes, you can.

On your full node, run the command admin.nodeInfo.enode, you will get an output like this:


This is your node's enode. Replace the [::] part with the computer's IP, like so:

"enode://0a8b ... 4905@"

Now run your light node with geth --syncmode light, and then run admin.addPeer(<enode>) in the console:

admin.addPeer("enode://0a8b ... 4905@")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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