<- Chrome Settings Library

ExplicitlyAllowedNetworkPorts

Explicitly allowed network ports
Last updated October 8, 2024

There is a list of restricted ports built into Google Chrome. Connections to these ports will fail. This setting permits bypassing that list. The value is a comma-separated list of zero or more ports that outgoing connections will be permitted on. Ports are restricted to prevent Google Chrome being used as a vector to exploit various network vulnerabilities. Setting this policy may expose your network to attacks. This policy is intended as a temporary workaround for errors with code "ERR_UNSAFE_PORT" while migrating a service running on a blocked port to a standard port (ie. port 80 or 443). Malicious websites can easily detect that this policy is set, and for what ports, and use that information to target attacks. Each port here is labelled with a date that it can be unblocked until. After that date the port will be restricted regardless of this setting. Leaving the value empty or unset means that all restricted ports will be blocked. If there is a mixture of valid and invalid values, the valid ones will be applied. This policy overrides the "--explicitly-allowed-ports" command-line option.

Supported On:
Platform Start End
Android 91
Chrome (Windows, Mac, Linux) 91
ChromeOS 91
webview_android 91
Example value:

{"0":"10080"}

Features: