testnet uses same RPC port as mainnet #1747

issue jgarzik opened this issue on August 28, 2012
  1. jgarzik commented at 11:05 PM on August 28, 2012: contributor

    The default RPC port is 8332, for mainnet or testnet3. This

    1. is unsafe, if code assumes 8332 is mainnet
    2. conflicts with a mainnet node, if you are running both on the same machine

    The code should automatically change RPC ports, if testnet3.

  2. Diapolo commented at 5:47 AM on August 29, 2012: none

    Yes, the client should just use 18332 for testnet RPC IMHO.

  3. laanwj commented at 7:40 PM on August 30, 2012: member

    Agreed. It should automatically change RPC ports in case of testnet if the port is not explicitly set.

  4. laanwj commented at 7:57 AM on October 26, 2013: member

    No longer the case, closing

  5. laanwj closed this on Oct 26, 2013

  6. DrahtBot 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-04-20 00:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me