Bitcoin has only 8 active connections, and I read somewhere that it helps to forward ports. I know how to forward a port, but which port should I forward, and how should I tell Bitcoin-qt to use the forwarded port?

  • 8 connections is more than enough for your client to pull blocks from the bitcoin network. So adding more doesn't help you, at least not directly. But it does help the bitcoin network if your node is accessible to others. – Stephen Gornick Feb 20 '13 at 22:07

Bitcoin has only 8 active connections

Correction: it has 8 outbound connections. By default, it can also accept up to 117 inbound connections

which port

Port 8333, TCP

how should I tell Bitcoin-qt to use the forwarded port?

Don't need to.

| improve this answer | |
  • OK, so does forwarding the port increase the number of outbound connections? – BenjiWiebe Feb 20 '13 at 20:01
  • No, but it makes it possible to get inbound connections, which helps the network. – Nick ODell Feb 20 '13 at 20:02
  • So why does Bitcoin-qt only have 8 outbound connections? Is there any way to increase this? – BenjiWiebe Feb 20 '13 at 20:05
  • 1
    Yes, go into the source code and modify MAX_OUTBOUND_CONNECTIONS, then recompile. – Nick ODell Feb 20 '13 at 20:13
  • 1
    Incidentally, adding more than 8 outbound connections doesn't necessarily help you ... it can actually put additional work for your system and consume inbound connections elsewhere that others might have used instead. – Stephen Gornick Feb 20 '13 at 22:09

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.