I meet this error when create a new note. On stackoverflow, and in the suggested tip, it is replaced to --rpc-port, but in the argument there was an existing --rpc-port argument with a different value. what to do in this case?

--base-path /tmp/node01
--chain ./customSpecRaw.json
--port 30333
--ws-port 9945
--rpc-port 9933
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0"
--rpc-methods Unsafe
--name MyNode01

error: unexpected argument '--ws-port' found

tip: a similar argument exists: '--rpc-port'

  • Please mark the response from xavier as "Answer" if it answered your question. This makes it easier for other people to find it. Jan 4 at 13:59

1 Answer 1


Use --rpc-port instead.

For more detail, see https://github.com/paritytech/polkadot/releases/tag/v0.9.43.

  • how about the existing --rpc-port 9933?
    – MinhK
    Jan 4 at 21:04
  • Yep, that's the right one to use. Jan 5 at 0:23

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.