Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
b2003362
Commit
b2003362
authored
Jan 27, 2020
by
Janos Guljas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust port numbers in readme file
parent
5ebe7e58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
b2003362
...
...
@@ -16,13 +16,13 @@ cp dist/bee /usr/local/bin/bee
Execute the command terminals to start
`node 1`
:
```
sh
bee start
--api-addr
:8
501
--p2p-addr
:3040
1
--data-dir
data1
bee start
--api-addr
:8
081
--p2p-addr
:707
1
--data-dir
data1
```
Use one of the multiaddresses as bootnode for
`node 2`
in order to connect them:
```
sh
bee start
--api-addr
:8
502
--p2p-addr
:3040
2
--data-dir
data2
--bootnode
/ip4/127.0.0.1/tcp/30401/p2p/QmT4TNB4cKYanUjdYodw1Cns8cuVaRVo24hHNYcT7JjkTB
bee start
--api-addr
:8
082
--p2p-addr
:707
2
--data-dir
data2
--bootnode
/ip4/127.0.0.1/tcp/30401/p2p/QmT4TNB4cKYanUjdYodw1Cns8cuVaRVo24hHNYcT7JjkTB
```
Take the address of the connected peer to
`node 1`
from log line
`peer "4932309428148935717" connected`
and make an HTTP POST request to
`localhost:{PORT1}/pingpong/{ADDRESS}`
like:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment