Can't set custom rpcport on testnet #13777

issue nkostoulas opened this issue on July 27, 2018
  1. nkostoulas commented at 8:21 AM on July 27, 2018: contributor

    Hello Is anyone aware of recent changes to the bitcoin client regarding rpcport and testnet. I am trying to set a custom port and get this

    Warning: Config setting for -rpcport only applied on test network when in [test] section.

    If I put the [test] section on top it ignores everything and runs mainnet, and if I only put it on top of rpcport it doesn’t work either.

    I believe the 'section' thing was recently added but I couldn't find any documentation on how to use it.

  2. jonasschnelli added the label Docs on Jul 30, 2018
  3. jonasschnelli commented at 3:30 PM on July 30, 2018: contributor

    Works here as expected. Have you had a look at https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes-pr12823.md? (or at the PR itself #11862?)

  4. nkostoulas commented at 4:03 PM on July 31, 2018: contributor

    Ah okay so you need to provide a value for [main] before providing one for [test].

    Thanks for this! I couldn't find the relevant documentation.

  5. fanquake closed this on Jul 31, 2018

  6. MarcoFalke cross-referenced this on Mar 20, 2019 from issue init: Throw error when network specific config is ignored by MarcoFalke
  7. MarcoFalke referenced this in commit 5392aee64f on Apr 10, 2019
  8. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC