Technical support on replication

look, you are not helping us to help you. you are not giving us any configuration details nor any error logs we pointed out.

any operating system will refuse you if you try to connect to a port that is not open for listening. and you are trying to connect to such a port. not to mention the IP you are trying to connect might be wrong.

why it happens? clearly, you are doing it wrong in one of the steps. is your mongod really running on all servers? are you using the correct port numbers to connect? did you set all firewall rules so OS allows you to connect? are you using the correct IP of your servers to connect? are those IP addresses set to allow remote connections by the router they are on.

so far, you haven’t tell any of these details. All I have is a link to a blog post you say you followed, and its content seems to work when followed correctly.

more on that, “connection refused” is not somehing related to “mongod” processes.

Now please, take a breathe first and kindly check all the steps you are supposed to do, make sure all are good, then show us error logs other than “connection refused” error.

1 Like