Portaldot Dev-Cycle Lab

Local P2P Network (2 Nodes) Full Guide from Start to Finish

This guide walks you from zero to a fully working local P2P network, running two nodes on the same machine that successfully connect to each other.


🔹 PART 1 — ONE-TIME SETUP (Done Only Once)

⚠️ Important:

This section is done only once per computer.

You will NOT repeat this when launching the second node.


1️⃣ Install Ubuntu using WSL

  1. Open Windows Terminal or PowerShell

image.png

  1. Run:
wsl --install -d Ubuntu

image.png

What will happen:


2️⃣ Create Ubuntu Username and Password