-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update nodes.md #249
base: main
Are you sure you want to change the base?
Update nodes.md #249
Conversation
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"
Including a link to the discord thread https://discord.com/channels/682786569857662976/963185659638607982/984649581071585360 |
There was a problem hiding this comment.
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.
@@ -264,7 +264,7 @@ The Ceramic daemon serves an HTTP API that clients use to interact with your Cer | |||
|
|||
### **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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
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.
3ef43e4
to
48090da
Compare
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