Bitcoin Forum

Other => Beginners & Help => Topic started by: myusername on April 15, 2013, 06:08:31 PM



Title: How many active connections?
Post by: myusername on April 15, 2013, 06:08:31 PM
I'm new :)

I have installed bitcoin-qt client and I'm downloading all transaction.
I reach max 8 active connection... is it normal? Why only 8 active connections?

I don't have found this information in all document I'm actually reading

Thanks
MyUsername


Title: Re: How many active connections?
Post by: BRules on April 15, 2013, 06:23:22 PM
maybe you're behind a firewall or a router that doen's accept UPNP port open/forward, so no one can connect to your client. if this is your case you will need to open/forward the port manually.


Title: Re: How many active connections?
Post by: netrikare on April 15, 2013, 07:01:23 PM
If you look at source code of bitcoin client at https://raw.github.com/bitcoin/bitcoin/master/src/net.cpp (https://raw.github.com/bitcoin/bitcoin/master/src/net.cpp) you will see that MAX_OUTBOUND_CONNECTIONS = 8
So it's perfectly normal, default number for connections initiated by your client. To allow inbound connections initiated to your client setup your router as BRules mentioned. Total maxconnections is 125.





Title: Re: How many active connections?
Post by: myusername on April 15, 2013, 07:34:41 PM
But in my router has UPNP enabled on port 2800

I try to search for the UPNP port to use, but I have a lot of results that don't reply my question...

thanks for the replies
MyUsername


Title: Re: How many active connections?
Post by: The 4ner on April 15, 2013, 07:38:18 PM
My client downloaded the entire blockchain using only those 8 connections. So, I think you're fine. Also, my Litecoin client uses only 8 connections so this tells me that the behavior of your client is normal.