Every time a new grin node is spun up, it receives 8 outbound connections. Is this the best way to support the network with a node, or is it recommended to offer inbound connections as well? If so, how is that done, and how does that benefit the network?
Best way would be to allow incoming connections. Each node links to 8 other nodes to update their chain and relay transactions. If you allow incoming connections then people will be using your node keep their chain up to date.
Only having outbound connections can actually be a small burden to the network. It’s not a huge deal, but forwarding port 3414 and allowing inbound connections is hugely beneficial for the network.
Is this two different actions, or does forwarding port 3414 of your public IP into your node automatically “allow inbound connections”?
It should just be one action.
server-config.toml does actually have a setting under
host that has to be
0.0.0.0, but I believe that’s already it’s default value.
I can confirm that the default is set as described.
#The interface on which to listen. #0.0.0.0 will listen on all interfaces, allowing others to interact #127.0.0.1 will listen on the local machine only host = "0.0.0.0"
I can confirm that, after opening and forwarding port 3414 into a node, it started collecting incoming connections automatically. Thanks, David!
Could you do a quick step-by-step on how to open port 3414? Thanks!
You open ports by logging in to your home router. How you configure the ports on your router entirely depends on the type of your router. Try this guide: https://www.noip.com/support/knowledgebase/general-port-forwarding-guide/
Thank you, I meant in to the node configuration. Or is it open by default?
It’s open by default in the node software. No changes required.
It looks like this when it’s working (more total peers than outbound peers):