check-route - Cloud Foundry CLI Reference Guide


名称

check-route - Perform a check to determine whether a route currently exists or not

用法

Check an HTTP route: cf check-route DOMAIN [--hostname HOSTNAME] [--path PATH] Check a TCP route: cf check-route DOMAIN --port PORT

EXAMPLES

cf check-route example.com # example.com cf check-route example.com -n myhost --path foo # myhost.example.com/foo cf check-route example.com --path foo # example.com/foo cf check-route example.com --port 5000 # example.com:5000

选项

--hostname, -n

用于识别 HTTP 路径的主机名

--path

用于识别 HTTP 路径的路径

--port

用于识别 TCP 路径的端口

另请参阅

create-route, delete-route, routes