It'd be nice if there was a -externalip=123.45.6.7 option in case your ISP is doing something wonky with requests to whatismyip.com
Option to specify external IP address #15
issue gavinandresen opened this issue on December 22, 2010-
gavinandresen commented at 2:59 PM on December 22, 2010: contributor
-
j16sdiz commented at 1:09 AM on January 14, 2011: none
Does bitcoin use whatismyip.com ? I have read some code, it seems to be using the external address reported by IRC, which should be quite reliable.
-
dooglus commented at 11:26 PM on January 21, 2011: contributor
net.cpp uses: addrConnect = CAddress("91.198.22.70:80"); // checkip.dyndns.org and addrConnect = CAddress("74.208.43.192:80"); // www.showmyip.com if it wasn't able to get the external IP address from IRC within 2 minutes.
Note it hard-codes the IP addresses of those 2 sites too, which is probably not ideal.
-
ghost commented at 9:34 AM on May 3, 2011: none
I think that option to specify external port is needed too. For NAT users for examle!
-
zellfaze-zz commented at 7:21 PM on June 13, 2011: none
I agree. What happens if those sites go down or change their addresses? Or what happens if you are behind a restrictive firewall or ACL?
- laanwj referenced this in commit 872b1f3e4c on Sep 18, 2011
-
sipa commented at 7:46 PM on February 19, 2012: member
I've added this functionality to my multilocal branch (#829)
- luke-jr cross-referenced this on Mar 25, 2012 from issue Startup blocks on mutex at "Loading Addresses" by luke-jr
- gavinandresen cross-referenced this on Apr 8, 2012 from issue addrMan crash on CentOS by gavinandresen
-
jgarzik commented at 9:29 PM on July 5, 2012: contributor
Implemented, as -externalip
- jgarzik closed this on Jul 5, 2012
- dvdkhlng cross-referenced this on Mar 28, 2013 from issue Bitcoind aborts on startup: ./db/skiplist.h:152 Assertion `n >= 0' failed. by dvdkhlng
- justmoon referenced this in commit 41ab43734e on Apr 7, 2014
- rebroad referenced this in commit 212015e2e0 on Jul 21, 2014
- rebroad cross-referenced this on Sep 11, 2014 from issue . by rebroad
- rdponticelli referenced this in commit 32b60cb5fb on Nov 26, 2014
- eduffield222 cross-referenced this on Jan 23, 2015 from issue Code vulnerable to segfault after a network fork by eduffield222
- lecbee cross-referenced this on Feb 16, 2015 from issue core dumped when closing bitcoin-qt by lecbee
- rustyrussell cross-referenced this on Mar 26, 2015 from issue Add autoprune functionality by sdaftuar
- primezeta cross-referenced this on Jun 24, 2015 from issue Segmentation fault on bitcoind or bitcoin-qt startup (64bit Linux) by primezeta
- MarcoFalke referenced this in commit 589f4b6be0 on Dec 1, 2015
- MarcoFalke referenced this in commit 734b3d8e28 on Dec 2, 2015
- MarcoFalke referenced this in commit 982709199f on Dec 2, 2015
- ptschip referenced this in commit 03ee948a5a on Mar 22, 2016
- braydonf referenced this in commit bd8328ceb9 on Jun 13, 2016
- gmaxwell cross-referenced this on Mar 15, 2017 from issue Running out of disk space during GUI init results in hang and non-drawing windows by gmaxwell
- Christewart referenced this in commit 22f7ca71db on Jun 29, 2017
- AkioNak referenced this in commit 39b76ef9cb on Jul 26, 2017
- dooglus cross-referenced this on Aug 25, 2017 from issue gui, wallet: random abort (segmentation fault) running master/HEAD by dooglus
- MarcoFalke referenced this in commit fd448da526 on Sep 29, 2017
- MarcoFalke referenced this in commit ccf35754f1 on Sep 29, 2017
- CryptAxe referenced this in commit ef5864cb06 on Dec 28, 2017
- nining referenced this in commit 2f5fe4c15b on Jan 3, 2018
- brutuscat cross-referenced this on Jan 29, 2018 from issue Add localaddress setting to bind to a network address by brutuscat
- MarcoFalke referenced this in commit 1fcd1e7de0 on Feb 16, 2018
- MarcoFalke referenced this in commit 835a21b424 on Feb 16, 2018
- Willtech referenced this in commit 99ac3defdd on Feb 23, 2018
- hkjn referenced this in commit 4c50fe065c on Feb 23, 2018
- KrzysiekJ referenced this in commit de1a0db4cf on Mar 28, 2018
- effectsToCause referenced this in commit a0c1dd180a on Jun 22, 2018
- Anfauglith referenced this in commit 721ec32f1e on Sep 27, 2018
- Rspigler cross-referenced this on Oct 13, 2018 from issue Bus error (core dumped) crash on Fedora (txindex migration?) by Rspigler
- lionello referenced this in commit ad794831e1 on Nov 7, 2018
- kayront cross-referenced this on Apr 18, 2019 from issue bitcoin core does not compile on Solaris by kayront
- udovdh cross-referenced this on Oct 4, 2019 from issue LevelDB read failure: Corruption: block checksum mismatch by dooglus
- b3rsrk cross-referenced this on Oct 11, 2019 from issue Option to set external advertised IP by b3rsrk
- DigiGreenCoin referenced this in commit e97b77d123 on Oct 29, 2019
- laanwj referenced this in commit b586bbd558 on Nov 6, 2019
- laanwj referenced this in commit 97b66d34eb on Nov 7, 2019
- laanwj referenced this in commit e9c85bb139 on Nov 7, 2019
- laanwj referenced this in commit c92f7af618 on Nov 7, 2019
- laanwj referenced this in commit 656712fe94 on Dec 9, 2019
- laanwj referenced this in commit 4abd92d5c4 on Dec 12, 2019
- laanwj referenced this in commit 89c8fe5189 on Jan 2, 2020
- laanwj referenced this in commit 66480821b3 on Jan 28, 2020
- laanwj referenced this in commit 31bdd86631 on Jul 15, 2020
- KolbyML referenced this in commit bcaba640a9 on Aug 1, 2020
- KolbyML referenced this in commit fa43fa1a9c on Sep 4, 2020
- jonasschnelli referenced this in commit 9453fbf5a0 on Oct 22, 2020
- laanwj referenced this in commit 924a4ff7eb on Oct 29, 2020
- jonasschnelli referenced this in commit c45e1d9aa7 on Nov 20, 2020
- rednil cross-referenced this on Apr 7, 2021 from issue wallet: Segmentation fault during sync by rednil
- MarcoFalke referenced this in commit bce09da122 on Apr 28, 2021
- MarcoFalke referenced this in commit eb9a1fe037 on May 7, 2021
- MarcoFalke referenced this in commit c857148636 on May 15, 2021
- rajarshimaitra referenced this in commit ac083dec34 on Aug 5, 2021
- bitcoin locked this on Sep 8, 2021