title: How do make my microservices only accessible by the api gateway
body: <p>I would like to know how I can protect my Nodejs microservices so only the API gateway can access it. Currently the microservices are exposed on a unique port on my machine and can be access directly without passing through the gateway. That defeats the purpose of the gateway to serve as the only entry point in the system for secure and authorized information exchange.</p>
  <p>The microservices and the gateway are currently built with Nodejs and express.</p>
  <p>The plan is to eventually deploy it on the cloud (digital ocean). I'd appreciate any response. Thanks.</p>