remove-network-policy - Cloud Foundry CLI Reference Guide


NAME

remove-network-policy - Remove network traffic policy of an app

USAGE

cf remove-network-policy SOURCE_APP --destination-app DESTINATION_APP --protocol (tcp | udp) --port RANGE

EXAMPLES

cf remove-network-policy frontend --destination-app backend --protocol tcp --port 8081 cf remove-network-policy frontend --destination-app backend --protocol tcp --port 8080-8090

OPTIONS

--destination-app

Name of app to connect to

--port

Port or range of ports that destination app is connected with

--protocol

Protocol that apps are connected with

SEE ALSO

apps, network-policies