Bitcoin Forum
December 12, 2024, 03:42:59 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Update information on bitcoin.it wiki regarding testnet ports  (Read 1159 times)
matt.collier (OP)
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile
March 30, 2013, 01:16:37 AM
Last edit: March 30, 2013, 02:30:11 AM by matt.collier
 #1

Evidently the information on https://en.bitcoin.it/wiki/Testnet regarding the testnet ports is outdated.  Can someone in the know update this?

Thanks!

Matt

EDIT:
Faucet is closed?
https://testnet.freebitcoins.appspot.com/

And digital certificate issue make the https connection to this site painful.  Is https desirable for the testnet faucet?
https://testnet.freebitcoins.appspot.com/
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
March 30, 2013, 08:27:33 AM
Last edit: March 30, 2013, 08:45:12 AM by deepceleron
 #2

Where do you get information that the port is outdated?

Quote from: protocol.h
extern bool fTestNet;
static inline unsigned short GetDefaultPort(const bool testnet = fTestNet)
{
    return testnet ? 18333 : 8333;
}
If you need some test coins, just put up your address.

Or importprivkey cMiCLUK7Hx9hviPdfPw4GTxfqao1TTDw43jmgmmRv2TENSw9cFrw (for the OP only)
matt.collier (OP)
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile
March 30, 2013, 12:19:50 PM
 #3

I am using testnet on Bitcoin version v0.8.1-beta and I found I had to connect to the daemon on port 18332 instead of port 18333.

I only figured that out because I found this:  https://github.com/bitcoin/bitcoin/pull/1862
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
March 30, 2013, 01:18:24 PM
 #4

The bitcoin client will tell you the answer to this if you ask it for help:

>bitcoin-qt -?

...
 -rpcport=<port>        Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332)

It is true that the default RPC port change is not listed as one of the testnet changes on the Wiki. This option is in most people's bitcoin.conf file so it does not change when selecting testnet.
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!