remove-network-policy - Cloud Foundry CLI Reference Guide |
cf remove-network-policy SOURCE_APP --destination-app DESTINATION_APP [-s DESTINATION_SPACE_NAME [-o DESTINATION_ORG_NAME]] --protocol (tcp | udp) --port RANGE
cf remove-network-policy frontend --destination-app backend --protocol tcp --port 8081
cf remove-network-policy frontend --destination-app backend -s backend-space -o backend-org --protocol tcp --port 8080-8090
Name of app to connect to
Port or range of ports that destination app is connected with
Protocol that apps are connected with
The org of the destination app (Default: targeted org)
The space of the destination app (Default: targeted space)