<p>According to OP's comments</p>

<blockquote>
  <p>I checked with my network admin, they were blockling port 8333.</p>
</blockquote>

<p>probably meaning port 18333</p>

CC BY-SA 4.0
2018-11-14T09:45:42.770Z
2018-11-14T09:45:42.770Z
RedGrittyBrick
<p>I am using BitcoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitcoinJ's Google Code wiki.</p>

<p>I am able to get it running but there seems to be an error while waiting for the node.</p>

<p>I receive the following output :</p>

<pre><code>[main] INFO com.google.bitcoin.core.BlockChain - chain head is at height 0:
v1 block: 
   previous block: 0000000000000000000000000000000000000000000000000000000000000000
   merkle root: 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
   time: [1296688602] Thu Feb 03 04:46:42 IST 2011
   difficulty target (nBits): 487063544
   nonce: 384568319

[New I/O boss #9] INFO com.google.bitcoin.core.Peer - com.google.bitcoin.core.Peer$PeerHandler@fe64b9 - Connection refused: no further information
</code></pre>

<p>Note: I am working from a NAT network, can this be a point of connection failure? </p>

CC BY-SA 3.0
2013-02-17T16:27:30.183Z
I think it can't connect to any peers - what does does watching the connection in Wireshark show?
Nick ODell
CC BY-SA 3.0
2013-02-20T16:45:42.193Z
@NickODell I checked with my network admin, they were blockling port 8333. Thanks for the help anyways.
Raghav Bali
CC BY-SA 3.0
2013-02-20T17:33:01.873Z
@NickODell Though I still have a query, how long does it take to actually reach till the genesis block? I wrote the code to fetch the genesis block, it kep fetching blocks for 15-20mins and was still fetching them.
Raghav Bali
CC BY-SA 3.0
2013-02-20T17:39:06.603Z
The genesis block ought to be hardcoded. By the way, it shouldn't matter if they're blocking 8333, because testnet runs on 18333
Nick ODell
<network><testnet><bitcoinj><java>
Test Network Genesis Block
Raghav Bali
# Test Network Genesis Block

(Asked by: username_0 on 2013-02-16)

I am using BitcoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitcoinJ's Google Code wiki.
I am able to get it running but there seems to be an error while waiting for the node.
I receive the following output :
[main] INFO com.google.bitcoin.core.BlockChain - chain head is at height 0:
v1 block: 
   previous block: 0000000000000000000000000000000000000000000000000000000000000000
   merkle root: 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
   time: [1296688602] Thu Feb 03 04:46:42 IST 2011
   difficulty target (nBits): 487063544
   nonce: 384568319

[New I/O boss #9] INFO com.google.bitcoin.core.Peer - com.google.bitcoin.core.Peer$PeerHandler@fe64b9 - Connection refused: no further information

Note: I am working from a NAT network, can this be a point of connection failure?

**Tags:** network, testnet, bitcoinj, java

> **Comments:**
> **username_1**: I think it can't connect to any peers - what does does watching the connection in Wireshark show?  
> **username_0**: @NickODell I checked with my network admin, they were blockling port 8333. Thanks for the help anyways.  
> **username_0**: @NickODell Though I still have a query, how long does it take to actually reach till the genesis block? I wrote the code to fetch the genesis block, it kep fetching blocks for 15-20mins and was still fetching them.  
> **username_1**: The genesis block ought to be hardcoded. By the way, it shouldn't matter if they're blocking 8333, because testnet runs on 18333  

---

## 1 answers

### Answer by username_2 on 2018-11-14. Score: 1

According to OP's comments

> I checked with my network admin, they were blockling port 8333.

probably meaning port 18333


---

