3

i run a geth light mode node on Ubuntu by geth --syncmode "light" --identity "mydev" --rpc --rpccorsdomain "*" --datadir "/root/mygeth/chain" --rpcapi "db,eth,net,web3" --networkid 1 console

But it always looking for peers and peer count is 0

Do I need to add some peers and where to find

Thanks

  • How long you been waiting for peers? Usually it takes few hours. At least this is what happened with my light node. – Miroslav Nedelchev Mar 2 at 13:27
  • Are you behind a firewall or NAT network? Try port forwarding the p2p port to the machine running geth. – Ismael Mar 2 at 14:58
  • thanks. if i submit a raw transaction to geth light node, it will be the same as submitting to geth full node? – Louis Mar 4 at 0:55
1

When full nodes decide to serve light nodes, they use much more bandwidth and read a lot off of their disk, most people don't serve light nodes. I've had problems running any kind of nodes on Ubuntu, so that might be the problem, also, there are tons of light nodes waiting for new ones. Don't try to run a light node during ICO, you will never find.

| improve this answer | |
  • if I add some node as peers by admin I found the node by etherscan nodes. Is this correct? – Louis Mar 15 at 11:43
  • Are you saying you found etherscan's nodes? If you add any light node serving node, and add it via admin.addPeer, it will start serving you. etherscan nodes are just like any nodes – TennisBowling Mar 16 at 14:27

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.