Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Running multiple OpenBazaar servers locally

Sam Patterson edited this page Aug 10, 2017 · 3 revisions

This guide is a work in progress.

Use go run openbazaard.go init -d /path/to/second_datafolder to make a new node db and then edit its config and change the Gateway port from 4002 to something else.

Also change the swarm ports. Both gateway and swarm ports are in the config file.

"Addresses": {
   "API": "",
   "Gateway": "/ip4/127.0.0.1/tcp/4002",
   "Swarm": [
     "/ip4/0.0.0.0/tcp/4001",
     "/ip6/::/tcp/4001",
     "/ip4/0.0.0.0/tcp/9005/ws",
     "/ip6/::/tcp/9005/ws"
   ]
 },
Clone this wiki locally