I'm trying to set up my eth node with this command line, but i keep getting an error that its undefined:

geth --syncmode "light" -cache=2048 --ws --wsaddr --wsorigins '*' --wsport 8546 --wsapi 'web3,eth,net'

did i mistype something?


1 Answer 1


Those switches were deprecated for several releases. It was replaced by --ws.addr.

Check the geth documentation.

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.