Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
Stops running Dev Proxy instances.
Synopsis
devproxy stop [options]
Options:
-f, --force Force stop the proxy by killing the process
--pid <pid> Stop a specific instance
--log-level <log-level> Level of messages to log
--no-color Disable colored output
--output <format> Output format
-h, --help Show help
Usage
devproxy stop
Arguments
None
Options
| Name | Description | Allowed values | Default |
|---|---|---|---|
-f, --force |
Forcefully terminate the Dev Proxy process instead of sending a graceful stop signal | n/a | n/a |
--log-level <log-level> |
Level of messages to log | Trace, Debug, Information, Warning, Error, Critical, None |
Information |
--no-color |
Disable colored output | n/a | n/a |
--output <format> |
Output format | Text, Json |
Text |
--pid <pid> |
Stop a specific Dev Proxy instance by process ID | integer | n/a |
Remarks
When you run multiple Dev Proxy instances (using --as-system-proxy false), the stop command without --pid stops all running instances. Use the --pid option to stop a specific instance.
Dev Proxy uses the current user's instance credential to authenticate the graceful stop request. If the graceful stop fails (for example, because the API port or credential is unavailable), use the --force option to forcefully terminate the process.
JSON output
With --output json, the command emits one result record for each outcome, for example for each instance that it stops. Each record contains the following properties:
| Property | Description |
|---|---|
pid |
The process ID of the Dev Proxy instance. null when no Dev Proxy instance is running. |
status |
The outcome. See the following table for possible values. |
message |
A human-readable description of the outcome. |
hint |
A suggested next step, for example, to use --force. Included only when applicable. |
The status property has one of the following values:
| Value | Meaning |
|---|---|
notRunning |
No matching Dev Proxy instance is running. |
stopped |
Dev Proxy stopped gracefully. |
stopTimeout |
Dev Proxy didn't stop in time. |
failed |
Dev Proxy couldn't stop the instance, for example, because its API didn't respond. |
forceStopped |
Dev Proxy forcefully terminated the instance. |
alreadyStopped |
The Dev Proxy process was already stopped. |
refused |
Dev Proxy couldn't verify that the process is a Dev Proxy instance, so it didn't terminate it. |
systemProxyRestored |
Dev Proxy restored the system proxy left behind by a crashed instance. |
staleRecordRemoved |
Dev Proxy removed the stale record of a crashed instance. |
devproxy stop --output json
{"type":"result","data":{"pid":277,"status":"stopped","message":"Dev Proxy (PID: 277) stopped."},"category":"StopCommand","timestamp":"2026-11-30T10:15:00.0000000Z"}
When the graceful stop fails, the record includes a hint:
{"type":"result","data":{"pid":277,"status":"failed","message":"Timeout waiting for Dev Proxy (PID: 277) to respond.","hint":"Use --force --pid 277 to forcefully terminate the process."},"category":"StopCommand","timestamp":"2026-11-30T10:15:00.0000000Z"}
Dev Proxy emits result records regardless of the configured log level.