The cluster are created but i happen a forbidden by the firewall


the cluster were created when it were want to works but often i happen a firewall forbidden who break the working of this mongodb by kubernetes kind thus the error below :

The connection to the server localhost:8080 was refused - did you specify the right host or port?

thanks you in advance to help myself pass the firewall forbidden,


Dorian ROSSE.

MongoDB instances are mostly run at ports 27000 or 27017, but your error shows port 8080 which is used mostly by a web server.

check your config files first to see the actual ports used for your web app and MongoDB server. and then check Kubernetes setting for the forwarded ports in and out containers.

PS: that does not seem a firewall issue for now.