Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: ctoon6 on July 20, 2011, 08:22:55 AM



Title: is it common
Post by: ctoon6 on July 20, 2011, 08:22:55 AM
is it uncommon for peers to use a port other than 8333?

i ask because i used tcpview and saw that very few did use 8333, only 7 use 8333, i also get 60-70 connections

http://img837.imageshack.us/img837/9694/portsfu.png

edit: also peers are connecting to me on ports other than 8333?


Title: Re: is it common
Post by: ZeroShift on July 20, 2011, 02:43:10 PM
I see most if not all peer connections coming in through port 8333.

Seems like the most used to talking/listening.


Title: Re: is it common
Post by: ctoon6 on July 20, 2011, 10:10:51 PM
I see most if not all peer connections coming in through port 8333.

Seems like the most used to talking/listening.

I may be wrong, but local port means that's the port they are connecting to me on. and the remote port is the port they are going through on their end.


Title: Re: is it common
Post by: CERN on July 21, 2011, 08:17:13 AM
I may be wrong, but local port means that's the port they are connecting to me on. and the remote port is the port they are going through on their end.

Partially correct!  :D

Your local port is either the port they are connecting to you in (inbound), or a random high-numbered port that your operating system picks at random (outbound).

Bitcoin uses both inbound and outbound connections, and this tcpview program doesn't seem to make any distinction between them, nor does it seem to take into account the active state of the connection (listening, established, etc), so it's tough to tell what exactly is what in that screenshot unfortunately...

I'd say that this is absolutely normal, though :)