<blockquote>
  <p>What type of port protocol do json-rpc and p2p use? does it use TCP or UDP?</p>
</blockquote>

<p>Both use TCP.</p>

<blockquote>
  <p>If possible, can you config or reprogram the open-source and compile the source to use TCP only if it also uses UDP?</p>
</blockquote>

<p>Certainly. It's open source, you can change whatever you want.</p>

CC BY-SA 4.0
2019-02-12T16:01:41.047Z
Thanks so before making possible changes, does it require UDP by default or only allowing TCP will work?

Since im trying to run in a network where some TCP port are unblocked and UDP are completely blocked
zhiyan114
CC BY-SA 4.0
2019-02-12T18:17:34.670Z
They use TCP already ... UDP is not used.
Ava Chow
CC BY-SA 4.0
2019-02-12T18:29:53.120Z
oh ok thanks then no code modification needed
zhiyan114
CC BY-SA 4.0
2019-02-12T15:37:10.287Z
2019-02-12T15:37:10.287Z
Ava Chow
<p>What type of port protocol do json-rpc and p2p use? does it use TCP or UDP?</p>

<p>If possible, can you config or reprogram the open-source and compile the source to use TCP only if it also uses UDP?</p>

<json-rpc><port><p2p>
json-rpc and p2p port protocol type
zhiyan114
# json-rpc and p2p port protocol type

(Asked by: username_0 on 2019-02-12)

What type of port protocol do json-rpc and p2p use? does it use TCP or UDP?

If possible, can you config or reprogram the open-source and compile the source to use TCP only if it also uses UDP?

**Tags:** json-rpc, port, p2p


---

## 1 answers

### Answer by username_1 on 2019-02-12. Score: 0 | Accepted answer

> What type of port protocol do json-rpc and p2p use? does it use TCP or UDP?

Both use TCP.

> If possible, can you config or reprogram the open-source and compile the source to use TCP only if it also uses UDP?

Certainly. It's open source, you can change whatever you want.

> **Comments:**
> **username_0**: Thanks so before making possible changes, does it require UDP by default or only allowing TCP will work?  Since im trying to run in a network where some TCP port are unblocked and UDP are completely blocked  
> **username_1**: They use TCP already ... UDP is not used.  
> **username_0**: oh ok thanks then no code modification needed  

---

