Creating Basic P2P Network
Exported on: 5/12/2026, 7:52:48 PM
undo redo
format_bold format_italic
link code code_blocks
A Peer-to-Peer (P2P) network is a network model in which all computers (peers) are connected directly and can
share files or resources without depending on a central server.
Each computer acts as both a client and a server
It is based on the concept of decentralization.
The peer-to-peer architecture of blockchain allows all cryptocurrencies to be transferred worldwide, without the
need of any middle-man or intermediaries or central server.
Step 1: Open Command Prompt
Open command prompt [1] and then use the command <cd Desktop> to change into the desktop directory.
This step is simply for convenience so that it is easier to find the folder you're going to be working with.
[1] You can open command prompt by clicking on the windows button at the bottom left and typing <cmd> .
Step 2: Create a New Folder
Use the command <md *folder name*> [2]. Make sure that it is visible on your desktop.
[2] The command md allows you to create a new folder. After typing md, press space and type the name of the
folder you want to create. If the folder has more than one word in the name, make sure to put the name in
quotation marks.
Step 3: Navigate to the Folder and Open the Properties
Open the file explorer and go under the Desktop section.
Left-click then right-click on the folder.
The left-click highlights the folder, and the right-click opens a menu of options.
Once the menu of options pops up click on the Properties.
When you open the properties window go to the Sharing section.
Step 4: Choose Who You Want to Share With
Type <Everyone> and click Add [3].
Once you're done with that click Share and then go to the Advanced Sharing.
[3] The default setting for the folder is set to only read. This means that if a person accesses the folder they will only
be able to view the files and not actually be able to write to the folder.
Step 5: Sharing the Folder
Press the box that lets you share the folder and then go into the Permissions section.
Step 6: Permissions
Make sure to give full control to the people that have access to the shared folder.
Click Apply then click OK.
Once you press OK, you'll be back at the advanced sharing page.
Press Apply and OK on that page too.
Step 7: Open Control Panel
Navigate into the Control Panel and click on the Network and Internet section.
Step 8: Network and Sharing
Navigate into the Network and Sharing section.
Step 9: Advanced Sharing
Navigate to the Advanced Sharing Settings.
Step 10: Choose Home and Work / Public
There are many settings that need to be changed in both of the options.
Step 11: Select All Options
There are going to be many options, the ones you need for the sharing to work are pretty common sense like
making sure that your device is allowed to be discovered.
And turn off password protected sharing.
Step 11: Select All Options
There are going to be many options, the ones you need for the sharing to work are pretty common sense like
making sure that your device is allowed to be discovered.
And turn off password protected sharing.
Step 13: Find the Device
Find the original device that the file was shared from.
Step 14: Find the Folder That Was Shared
Once you click on the device you will find all the files that were shared from it.
You can tell that the folder is shared over the network because it has the green crossroads looking thing under its
name.