anchor.diff:  ---
  -title: Configuring Apps to Listen on Custom Ports (Beta)
  +title: Configuring CF to Route Traffic to Apps on Custom Ports (Beta)
   owner: Routing
   ---
   
  -This topic describes how to configure your apps to listen for traffic on custom ports. 
  -
  -<p class="note"><strong>Note</strong>: This is a beta feature. Some of the API endpoints described in this topic are not yet considered generally available.</p>
  +This topic describes how to configure Cloud Foundry to route traffic to your apps listening on custom ports. 
   
   ## <a id="overview"></a> Overview
   
  -By default, apps only receive requests on port 8080 for both HTTP and TCP routing. Configuring custom app ports allows developers to bring workloads onto Cloud Foundry (CF) that listen on ports other than 8080. Here are some example use cases:
  +By default, apps only receive requests on port 8080 for both HTTP and TCP routing, and so must be configured (or hard coded) to listen on this port. Configuring custom app ports allows developers to bring workloads onto Cloud Foundry (CF) that listen on ports other than 8080. Here are some example use cases:
   
   * Serving web client requests on one port and offering stats/debug on another
   * Using TCP protocols that require multiple ports 
  
positive.code: 
  ### <a id="flow"></a> Flow of a Request to an App
  
  The following table describes the types of ports used at each stage of a client request. The procedure in this document discusses configuring _app ports_ specifically.  
  
  <table>
  	<tr>
  		<th>Port Type</th>
  		<th>Description</th>
  		<th>Applicable Stage</th>
  	</tr>
  	<tr>
  		<td>Route port</td>
  
negative.code: 	* `APP-GUID` is the GUID of your app
  	*  `PORT1, PORT2, PORT3...` is a comma-separated list of the ports on which you want your app to receive traffic. 
  
  1. Retrieve the GUID of the route to which clients will make requests, and for which Cloud Foundry will route requests to the app on a custom port:
  
  	```
  	cf curl /v2/routes?q=host:HOST-NAME
  	```
  	Where `HOST-NAME` is the hostname for the route; by default this is the name of your app.
  
  1. Update the route mapping for your app:
  
  