Skip to content

Navigation Menu

Sign in
Sign up

Update nodes.md - #249

Open
avious00 wants to merge 1 commit into
main from
3avi-ipfs-port-change
Open

Update nodes.md #249
avious00 wants to merge 1 commit into
main from
3avi-ipfs-port-change

Conversation

@avious00

@avious00 avious00 commented Jun 10, 2022

Copy link
Copy Markdown
Contributor

hey @smrz2001 following up on the feedback from shacha on Gitcoin that it should generally be port 4001 instead of 4011, with an additional caveat around not being blocked by a firewall + consistency with the swarm address announced by IPFS

"API port on 5001 is fine, IPFS log says API server listening on /ip4/0.0.0.0/tcp/5001 and that should be internal-traffic only. Docs (https://developers.ceramic.network/run/nodes/nodes/#staying-connected-to-ipfs) says the swarm port is 4011 but it might be 4001 instead -- swarm port is the one that needs to be externally reachable"

hey @smrz2001 following up from the feedback from shacha on Gitcoin that it should generally be port 4001 instead of 4011, with an additional caveat around not being blocked by a firewall + consistency with the swarm address announced by IPFS
> "API port on 5001 is fine, IPFS log says API server listening on /ip4/0.0.0.0/tcp/5001 and that should be internal-traffic only. Docs (https://developers.ceramic.network/run/nodes/nodes/#staying-connected-to-ipfs) says the swarm port is 4011 but it might be 4001 instead -- swarm port is the one that needs to be externally reachable"

avious00 commented Jun 10, 2022
edited
Loading

Copy link
Copy Markdown
Contributor Author

@smrz2001 smrz2001 left a comment
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from a minor change. I can merge it once finalized.

cc @v-stickykeys to double-check.

Comment thread docs/run/nodes/nodes.md
### **Staying connected to IPFS**

Ceramic nodes rely on IPFS for networking. IPFS nodes connect to each other using a Libp2p module called "switch" (aka "swarm"). This module operates over a websocket, on port `4011` by default. The websocket port must be accessible to the internet so your Ceramic node can be connected to the network.
Ceramic nodes rely on IPFS for networking. IPFS nodes connect to each other using a Libp2p module called "switch" (aka "swarm"). This module operates over a websocket, on port `4001` by default, as well as port `4011`. The websocket port must be accessible to the internet so your Ceramic node can be connected to the network, i.e. not blocked by a firewall. In addition, the port must match the swarm address announced by IPFS.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Ceramic nodes rely on IPFS for networking. IPFS nodes connect to each other using a Libp2p module called "switch" (aka "swarm"). This module operates over a websocket, on port `4001` by default, as well as port `4011`. The websocket port must be accessible to the internet so your Ceramic node can be connected to the network, i.e. not blocked by a firewall. In addition, the port must match the swarm address announced by IPFS.
Ceramic nodes rely on IPFS for networking. IPFS nodes connect to each other using a Libp2p module called "switch" (aka "swarm"). This module operates over a websocket, on port `4001` by default. The websocket port must be accessible to the internet so your Ceramic node can be connected to the network, i.e. not blocked by a firewall. In addition, the port must match the swarm address announced by IPFS.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably best to just mention the 4001 default port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@v-stickykeys v-stickykeys Awaiting requested review from v-stickykeys
1 more reviewer
@smrz2001 smrz2001 smrz2001 approved these changes
Reviewers whose approvals may not affect merge requirements

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /