title: Port Binding - 12 Factor App
body: <p>Whenever I deploy a spring boot app , it had embedded tomcat container. It relys on container being available. Does it mean that these are not 12 factor app compliant as depends on runtime injection of webserver?</p>
  <p>What does TCP routing mean for non-http services?</p>
  <blockquote>
  <p><strong>Port Binding</strong></p>
  <p>Export services via port binding. The 12-factor app is
  completely self-contained and does not rely on runtime injection of a
  web server into the execution environment to create web-facing
  service.</p>
  <p>For Pivotal Cloud Foundry, non-HTTP services require TCP routing in
  order to be replatformed.</p>
  </blockquote>