Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: optimator on November 15, 2012, 02:19:55 PM



Title: More the 8 connections
Post by: optimator on November 15, 2012, 02:19:55 PM
Hello, I am experimenting with bitcoin-qt. I've added several dozen addnode references. However, getconnectioncount always shows 8 peers. What do I need to do to get more peers connected?

Cheers!


Title: Re: More the 8 connections
Post by: Raoul Duke on November 15, 2012, 02:43:50 PM
Enable uPnP. If for some reason uPnP doesn't forward the port itself you'll need to forward it on the router yourself. If you do manual forwarding don't forget to give your computer a static local IP in case you have more than one computer connected to your router.


Title: Re: More the 8 connections
Post by: Akka on November 15, 2012, 02:57:11 PM
If you have no Idea what that ^^^ means, read this: http://www.pcworld.com/article/244314/how_to_forward_ports_on_your_router.html

only difference is, that you have to forward pot 8333 & 6667.


Title: Re: More the 8 connections
Post by: gmaxwell on November 15, 2012, 03:00:24 PM
Hello, I am experimenting with bitcoin-qt. I've added several dozen addnode references. However, getconnectioncount always shows 8 peers. What do I need to do to get more peers connected?

Can you tell me why you've added "several dozen" addnodes?  I'm asking because I want to know if there is some documentation I need to get updated that is causing people to think that they need to do this.


Title: Re: More the 8 connections
Post by: DeathAndTaxes on November 15, 2012, 03:10:02 PM
Hello, I am experimenting with bitcoin-qt. I've added several dozen addnode references. However, getconnectioncount always shows 8 peers. What do I need to do to get more peers connected?

Can you tell me why you've added "several dozen" addnodes?  I'm asking because I want to know if there is some documentation I need to get updated that is causing people to think that they need to do this.


I heard it is what all the cool kids are doing.  Kinda like turning off the paging file in Windows. :)


Title: Re: More the 8 connections
Post by: AndrewBUD on November 15, 2012, 03:14:11 PM
lol.... I get 12-14 connections normally and I don't do anything? What's the point of this?


Title: Re: More the 8 connections
Post by: niko on November 15, 2012, 03:17:53 PM
If you have no Idea what that ^^^ means, read this: http://www.pcworld.com/article/244314/how_to_forward_ports_on_your_router.html

only difference is, that you have to forward pot 8333 & 6667.

What's with 6667? I only forward 8333 only (uPnP is disabled, this is done manually), and am getting ~50 connections.


Title: Re: More the 8 connections
Post by: Akka on November 15, 2012, 03:22:40 PM
If you have no Idea what that ^^^ means, read this: http://www.pcworld.com/article/244314/how_to_forward_ports_on_your_router.html

only difference is, that you have to forward pot 8333 & 6667.

What's with 6667? I only forward 8333 only (uPnP is disabled, this is done manually), and am getting ~50 connections.

6667 is the IRC Port. The Client should also look for connections on this port. So an or, not and and.


Title: Re: More the 8 connections
Post by: DeathAndTaxes on November 15, 2012, 03:34:18 PM
The client hasn't used IRC for a long time.  Keep that IRC port closed.


Title: Re: More the 8 connections
Post by: Akka on November 15, 2012, 03:38:33 PM
The client hasn't used IRC for a long time.  Keep that IRC port closed.

Ok, thanks, it's still stated here, that's the reason I opened this port.

https://de.bitcoin.it/wiki/FAQ#Muss_ich_meine_Firewall_konfigurieren.2C_um_Bitcoin_laufen_lassen_zu_k.C3.B6nnen.3F

So it's OK if I remove the port 6667 Entry?


Title: Re: More the 8 connections
Post by: cabin on November 16, 2012, 01:15:01 AM
yes get rid of it, I always get to my limit of 20 connections quickly with it closed.


Title: Re: More the 8 connections
Post by: Akka on November 16, 2012, 07:25:29 AM
I already closed this port on my Firewall.

The point is that in the german wiki, there is still stated that Bitcoin communicates over port 8333 and 6667, if it still does, I leave that entry, if not then I remove it.

So is port 6667 still used?


Title: Re: More the 8 connections
Post by: kjj on November 16, 2012, 12:32:34 PM
I already closed this port on my Firewall.

The point is that in the german wiki, there is still stated that Bitcoin communicates over port 8333 and 6667, if it still does, I leave that entry, if not then I remove it.

So is port 6667 still used?

It can be used, but is disabled by default now.  Also, it is outgoing only, it doesn't ever need to accept incoming connections on port 6667.


Title: Re: More the 8 connections
Post by: optimator on November 16, 2012, 02:45:03 PM

Can you tell me why you've added "several dozen" addnodes?  I'm asking because I want to know if there is some documentation I need to get updated that is causing people to think that they need to do this.


I'm running some timing tests on different bitcoind configurations. I'm curious as to various performance metrics.

However, based on the responses, I'm still unclear why I only see 8 peers - any ideas?


Title: Re: More the 8 connections
Post by: cabin on November 16, 2012, 03:01:40 PM

Can you tell me why you've added "several dozen" addnodes?  I'm asking because I want to know if there is some documentation I need to get updated that is causing people to think that they need to do this.


I'm running some timing tests on different bitcoind configurations. I'm curious as to various performance metrics.

However, based on the responses, I'm still unclear why I only see 8 peers - any ideas?

The number of connections does seem to go up and down quite a bit so check back a few times over the course of a day. Also just be sure you don't have a line like maxconnections=8 in your conf file.