Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: dE_logics on January 07, 2014, 08:23:54 AM



Title: Consiquence of changing default listening port.
Post by: dE_logics on January 07, 2014, 08:23:54 AM
Just to confirm, suppose I change the default listening port for bitcoind/-qt which's intended for incoming connection from other wallets, I will get the same no. of connections as with the default port right?

OR the question can be framed as --

Is the Bitcoin protocol hard coded for port 8333, or will it get the open port from the running wallet and forward it to other clients so they can connect to the right port?


Title: Re: Consiquence of changing default listening port.
Post by: michagogo on January 07, 2014, 07:53:08 PM
Yes, you are able to change the listening port, and yes, if you change the listening port you will advertise your address along with the new port. However, unless I'm misremembering, the default behavior of Bitcoin Core is to prefer connections on port 8333, so you're unlikely to get many (if any) incoming connections.


Title: Re: Consiquence of changing default listening port.
Post by: dE_logics on January 08, 2014, 03:20:37 AM
Yes, you are able to change the listening port, and yes, if you change the listening port you will advertise your address along with the new port. However, unless I'm misremembering, the default behavior of Bitcoin Core is to prefer connections on port 8333, so you're unlikely to get many (if any) incoming connections.

OMG. That's bad. Anyone else confirming this?


Title: Re: Consiquence of changing default listening port.
Post by: bitpop on January 08, 2014, 06:58:23 AM
I doubt it but it could be because my nmc doesn't get incoming and I'm using a different port than stock


Title: Re: Consiquence of changing default listening port.
Post by: dE_logics on January 08, 2014, 07:36:53 AM
I doubt it but it could be because my nmc doesn't get incoming and I'm using a different port than stock

If you're not getting incoming, you're effectively not using that port.


Title: Re: Consiquence of changing default listening port.
Post by: bitpop on January 08, 2014, 07:47:02 AM
Then that's stupid to prefer a port when it was designed to be broadcast


Title: Re: Consiquence of changing default listening port.
Post by: dE_logics on January 12, 2014, 06:19:51 AM
Yes it does matter. I get less connections when the default port was changed.