Skip to content

Fix Hosts Drift

Use this when the hosts file no longer matches the DevProxy registry.

Check first

bash
devproxy doctor

If the managed hosts block has drifted, doctor will warn about it.

Repair it

bash
devproxy sync-hosts

Or let doctor attempt safe fixes:

bash
devproxy doctor --fix

On Windows, fixes that need permission prompt for UAC when DevProxy can perform them automatically. On macOS and Linux, the same fixes are reported with manual instructions when the shell is not elevated.