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 路徑 (route) 的主機名稱

--path

用來識別 HTTP 路徑 (route) 的路徑 (path)

--port

用來識別 TCP 路徑 (route) 的埠

另請參閱

create-route, delete-route, routes