Bitcoin Forum
May 24, 2024, 11:47:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Consiquence of changing default listening port.  (Read 1341 times)
dE_logics (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



View Profile WWW
January 07, 2014, 08:23:54 AM
 #1

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?

▄▄▄█████████▄▄▄
▄▄█████████████████████▄▄
▄██████████▄▄▄    ▀▀▀███████▄
▄██████████████████▄▄▄   ▀▀█████▄
████████████████████████▌  ▄███████
██████████████▀▀    ▀▀██▀ ▄███▀ ▀████
███████████▀▀  ▄▄ ▄▄     ▄█████▄  ▀████
███████████  ▄▄ ▀█████▄ ▄█▀  █████  ▀████
▄██████████   ▀████▀  ▀███     █████  ▀███▄
██████████▌  ▄████▄  ▄█▀▀██▄   ▐█████  ████
██████████   ▀▀ ▀████▀    ██    ██████ ████
██████████▌      ▄███▄  ▄██▄   ▐██████H████
▀██████████▄   ▄█▀  ▀████▀▀▀   ███████████▀
██████████▀ ▄█▀    ██▀▀██   ▄████████████
███████▀ ▄███▄           ▄█████████████
█████▄▄█████████▄▄▄▄▄████████████████
▀█████████████████████████████████▀
▀█████████████████████████████▀
▀▀███████████████████████▀▀
▀▀███████████████▀▀
▀▀▀▀▀▀▀▀▀
.






  

             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
  

                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌
  

             █▀▀▀▄▄▄██▄
             █     ▀██▀
            █
         ▄▄▄█▄▄▄
 ████▄▄███████████▄▄████
▐██████▀▀███████▀▀██████▌
 ▀████    █████    ████▀
  ████▄  ▄█████▄  ▄████
  ▀███████████████████▀
   ▀████▄▀█████▀▄████▀
     ▀▀███▄▄▄▄▄███▀▀
         ▀▀▀▀▀▀▀


          ▄████████
          █████████
          █████
          █████
      █████████████
      █████████████
          █████
          █████
          █████
          █████
          █████


█▄▄              █▄▄
█████▄▄         ██████▄▄
████████       ████████ █
████████ ██   ████████ ██
████████ ███ ████████ ███
████████ ████ ██████ ████
████████ █████ ████ █████
████████ ▀█████ ██ ██████
████████    ▀▀██  ███████
▀███████         ▀███████
   ▀▀███            ▀▀███
       ▀                ▀
michagogo
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
January 07, 2014, 07:53:08 PM
 #2

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.
dE_logics (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



View Profile WWW
January 08, 2014, 03:20:37 AM
 #3

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?

▄▄▄█████████▄▄▄
▄▄█████████████████████▄▄
▄██████████▄▄▄    ▀▀▀███████▄
▄██████████████████▄▄▄   ▀▀█████▄
████████████████████████▌  ▄███████
██████████████▀▀    ▀▀██▀ ▄███▀ ▀████
███████████▀▀  ▄▄ ▄▄     ▄█████▄  ▀████
███████████  ▄▄ ▀█████▄ ▄█▀  █████  ▀████
▄██████████   ▀████▀  ▀███     █████  ▀███▄
██████████▌  ▄████▄  ▄█▀▀██▄   ▐█████  ████
██████████   ▀▀ ▀████▀    ██    ██████ ████
██████████▌      ▄███▄  ▄██▄   ▐██████H████
▀██████████▄   ▄█▀  ▀████▀▀▀   ███████████▀
██████████▀ ▄█▀    ██▀▀██   ▄████████████
███████▀ ▄███▄           ▄█████████████
█████▄▄█████████▄▄▄▄▄████████████████
▀█████████████████████████████████▀
▀█████████████████████████████▀
▀▀███████████████████████▀▀
▀▀███████████████▀▀
▀▀▀▀▀▀▀▀▀
.






  

             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
  

                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌
  

             █▀▀▀▄▄▄██▄
             █     ▀██▀
            █
         ▄▄▄█▄▄▄
 ████▄▄███████████▄▄████
▐██████▀▀███████▀▀██████▌
 ▀████    █████    ████▀
  ████▄  ▄█████▄  ▄████
  ▀███████████████████▀
   ▀████▄▀█████▀▄████▀
     ▀▀███▄▄▄▄▄███▀▀
         ▀▀▀▀▀▀▀


          ▄████████
          █████████
          █████
          █████
      █████████████
      █████████████
          █████
          █████
          █████
          █████
          █████


█▄▄              █▄▄
█████▄▄         ██████▄▄
████████       ████████ █
████████ ██   ████████ ██
████████ ███ ████████ ███
████████ ████ ██████ ████
████████ █████ ████ █████
████████ ▀█████ ██ ██████
████████    ▀▀██  ███████
▀███████         ▀███████
   ▀▀███            ▀▀███
       ▀                ▀
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 08, 2014, 06:58:23 AM
 #4

I doubt it but it could be because my nmc doesn't get incoming and I'm using a different port than stock

dE_logics (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



View Profile WWW
January 08, 2014, 07:36:53 AM
 #5

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.

▄▄▄█████████▄▄▄
▄▄█████████████████████▄▄
▄██████████▄▄▄    ▀▀▀███████▄
▄██████████████████▄▄▄   ▀▀█████▄
████████████████████████▌  ▄███████
██████████████▀▀    ▀▀██▀ ▄███▀ ▀████
███████████▀▀  ▄▄ ▄▄     ▄█████▄  ▀████
███████████  ▄▄ ▀█████▄ ▄█▀  █████  ▀████
▄██████████   ▀████▀  ▀███     █████  ▀███▄
██████████▌  ▄████▄  ▄█▀▀██▄   ▐█████  ████
██████████   ▀▀ ▀████▀    ██    ██████ ████
██████████▌      ▄███▄  ▄██▄   ▐██████H████
▀██████████▄   ▄█▀  ▀████▀▀▀   ███████████▀
██████████▀ ▄█▀    ██▀▀██   ▄████████████
███████▀ ▄███▄           ▄█████████████
█████▄▄█████████▄▄▄▄▄████████████████
▀█████████████████████████████████▀
▀█████████████████████████████▀
▀▀███████████████████████▀▀
▀▀███████████████▀▀
▀▀▀▀▀▀▀▀▀
.






  

             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
  

                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌
  

             █▀▀▀▄▄▄██▄
             █     ▀██▀
            █
         ▄▄▄█▄▄▄
 ████▄▄███████████▄▄████
▐██████▀▀███████▀▀██████▌
 ▀████    █████    ████▀
  ████▄  ▄█████▄  ▄████
  ▀███████████████████▀
   ▀████▄▀█████▀▄████▀
     ▀▀███▄▄▄▄▄███▀▀
         ▀▀▀▀▀▀▀


          ▄████████
          █████████
          █████
          █████
      █████████████
      █████████████
          █████
          █████
          █████
          █████
          █████


█▄▄              █▄▄
█████▄▄         ██████▄▄
████████       ████████ █
████████ ██   ████████ ██
████████ ███ ████████ ███
████████ ████ ██████ ████
████████ █████ ████ █████
████████ ▀█████ ██ ██████
████████    ▀▀██  ███████
▀███████         ▀███████
   ▀▀███            ▀▀███
       ▀                ▀
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 08, 2014, 07:47:02 AM
 #6

Then that's stupid to prefer a port when it was designed to be broadcast

dE_logics (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



View Profile WWW
January 12, 2014, 06:19:51 AM
 #7

Yes it does matter. I get less connections when the default port was changed.

▄▄▄█████████▄▄▄
▄▄█████████████████████▄▄
▄██████████▄▄▄    ▀▀▀███████▄
▄██████████████████▄▄▄   ▀▀█████▄
████████████████████████▌  ▄███████
██████████████▀▀    ▀▀██▀ ▄███▀ ▀████
███████████▀▀  ▄▄ ▄▄     ▄█████▄  ▀████
███████████  ▄▄ ▀█████▄ ▄█▀  █████  ▀████
▄██████████   ▀████▀  ▀███     █████  ▀███▄
██████████▌  ▄████▄  ▄█▀▀██▄   ▐█████  ████
██████████   ▀▀ ▀████▀    ██    ██████ ████
██████████▌      ▄███▄  ▄██▄   ▐██████H████
▀██████████▄   ▄█▀  ▀████▀▀▀   ███████████▀
██████████▀ ▄█▀    ██▀▀██   ▄████████████
███████▀ ▄███▄           ▄█████████████
█████▄▄█████████▄▄▄▄▄████████████████
▀█████████████████████████████████▀
▀█████████████████████████████▀
▀▀███████████████████████▀▀
▀▀███████████████▀▀
▀▀▀▀▀▀▀▀▀
.






  

             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
  

                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌
  

             █▀▀▀▄▄▄██▄
             █     ▀██▀
            █
         ▄▄▄█▄▄▄
 ████▄▄███████████▄▄████
▐██████▀▀███████▀▀██████▌
 ▀████    █████    ████▀
  ████▄  ▄█████▄  ▄████
  ▀███████████████████▀
   ▀████▄▀█████▀▄████▀
     ▀▀███▄▄▄▄▄███▀▀
         ▀▀▀▀▀▀▀


          ▄████████
          █████████
          █████
          █████
      █████████████
      █████████████
          █████
          █████
          █████
          █████
          █████


█▄▄              █▄▄
█████▄▄         ██████▄▄
████████       ████████ █
████████ ██   ████████ ██
████████ ███ ████████ ███
████████ ████ ██████ ████
████████ █████ ████ █████
████████ ▀█████ ██ ██████
████████    ▀▀██  ███████
▀███████         ▀███████
   ▀▀███            ▀▀███
       ▀                ▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!