<p>The regtest mode is basically for running a node in a test network where all peers have to be added manually and it is extremely easy to solve blocks. As such, there won't be any network traffic unless you start multiple nodes and connect them using the <code>addnode</code> RPC command. </p>

<p>Alternatively, maybe you meant to run this in <code>-testnet</code> mode instead of <code>-regtest</code> mode?</p>

CC BY-SA 3.0
2015-06-16T13:28:35.160Z
You are right. With 2 `regtest` nodes traffic is visible in fact.
Aliakbar Ahmadi
CC BY-SA 3.0
2015-06-12T19:06:58.593Z
2015-06-12T19:06:58.593Z
morsecoder
<p><br/>
Motivated to watch data exchange on Bitcoin Newtwork, especially on regtest, and with hints from David Harding I decided to analyse traffic on regtest with Wireshark.</p>

<p>I've installed and setup (I've got a list of interfaces) Wireshark and start capturing from all interfaces available and immediately run one regtest node with following connection specification:<br/></p>

<pre><code>...
Bound to [::]:11111
Bound to 0.0.0.0:11111
...
</code></pre>

<p>I put a <code>tcp.port==18444</code> filter <a href="https://www.samkear.com/networking/analyzing-bitcoin-network-traffic-wireshark" rel="nofollow">(in the style of this description)</a> and apply.</p>

<p>Problem: There's no traffic shown!<br/>
<strong>Question: What am I doing wrong and what interface should I capture from?</strong></p>

CC BY-SA 3.0
2015-06-12T11:20:28.147Z
There won't be any network traffic to capture unless you have at least two nodes running.
Claris
<regtest><p2p><network>
What's happening in regtest mode? - Wireshark analysis
Aliakbar Ahmadi
# What's happening in regtest mode? - Wireshark analysis

(Asked by: username_0 on 2015-06-12)

Motivated to watch data exchange on Bitcoin Newtwork, especially on regtest, and with hints from David Harding I decided to analyse traffic on regtest with Wireshark.
I've installed and setup (I've got a list of interfaces) Wireshark and start capturing from all interfaces available and immediately run one regtest node with following connection specification:
...
Bound to [::]:11111
Bound to 0.0.0.0:11111
...

I put a tcp.port==18444 filter (in the style of this description) and apply.
Problem: There's no traffic shown!
Question: What am I doing wrong and what interface should I capture from?

**Tags:** regtest, p2p, network

> **Comments:**
> **username_1**: There won't be any network traffic to capture unless you have at least two nodes running.  

---

## 1 answers

### Answer by username_2 on 2015-06-12. Score: 2 | Accepted answer

The regtest mode is basically for running a node in a test network where all peers have to be added manually and it is extremely easy to solve blocks. As such, there won't be any network traffic unless you start multiple nodes and connect them using the `addnode` RPC command.

Alternatively, maybe you meant to run this in `-testnet` mode instead of `-regtest` mode?

> **Comments:**
> **username_0**: You are right. With 2 `regtest` nodes traffic is visible in fact.  

---

