I want to connect to a local node that I have set up in regtest mode using bitcoind. The node I am connection from is non bitcoind and I need to set the port that I want the peer discovery to take place from. What parameters do I need to set in my bitcoin.conf for bitcoind?

1 Answer 1


The default port for bitcoin regtest is 18444. You can set a custom port with port=<port> in your bitcoin.conf or by passing -port=<port> as argument.

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.