Skip to content

ERR Log "attempted to connect to route port" #3569

Answered by Jarema
hufan-ola asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

cluster routes are meant to be used only for other nodes (servers) to connect and form a cluster.

Clients should connect to the listen URL of one of the nodes. In your example it's 192.168.0.3:4222.

Docs are here: https://docs.nats.io/running-a-nats-service/configuration/clustering

Keep in mind that your cluster should have at least 3 nodes.
If you want master/slave hub/spoke architecture, leafnodes might be a better solution.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hufan-ola
Comment options

@Jarema
Comment options

Answer selected by hufan-ola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants