Skip to content

Guides · Connect and debug

The proxy requires a username and password

The message means a proxy server, not the website, answered your browser with HTTP 407 Proxy Authentication Required and wants its own credentials. Enter the username and password issued for that proxy, not your Wi-Fi, device or website password. If you did not set up a proxy, cancel the prompt and find which setting, extension or administrator selected it.

By PortproofPublished Updated

Short answers

Which username and password should I enter?

Use the credentials issued for the proxy shown in the prompt. For Portproof, copy the complete generated username and proxy password from the connection builder. Your Portproof account password and API key do not authenticate that connection.

What does “The proxy https://host:port requires a username and password” mean?

The address in the prompt is the proxy server the browser contacted, with the scheme and port it used for that proxy. It is not the website you opened. The proxy replied 407 and is waiting for its own credentials before it forwards the request.

Why does “this proxy requires a username and password” appear when I never bought a proxy?

A network setting, automatic configuration (PAC) script, browser extension or managed profile may select a proxy. Inspect the configured route before entering anything. On a work or school device, ask the administrator to identify the server.

Can I save the proxy password in Chrome’s or Windows proxy settings?

No. The Windows manual proxy pane has no username or password fields, and Chromium does not use credentials embedded in manual proxy settings. Chrome and Edge ask in their own sign-in dialog; an extension you trust can answer the challenge instead.

Can I turn the proxy off?

You can remove a proxy you added to your own device when you no longer need it. Record the old settings first. A managed device or required network proxy needs the administrator’s guidance; removing its profile can remove associated settings, apps and data.

Does a repeated prompt prove the password is wrong?

No. Confirm the host, port, complete username and the client handling authentication. A browser may not use credentials saved in system settings. If the gateway reports 407, use the separate authentication guide to check the status and any gateway code.

If your screen says The proxy requires a username and password, start with the server it names, when one is shown. Prompt wording varies by app and release. This guide was checked against Apple’s macOS Tahoe 26 settings documentation, Apple’s iOS 14.7-and-later developer walkthrough, Microsoft’s Windows proxy documentation, Mozilla’s Firefox connection settings help and Chromium’s current references. These steps were not walked through on a device.

The proxy https://host:port requires a username and password

Chrome and Edge show this sign-in dialog when a proxy answers a request with 407 Proxy Authentication Required and a Proxy-Authenticate header. The address in the dialog, for example http://203.0.113.x:8080 or a proxy hostname with https://, identifies the proxy server and how the browser reached it. It is not the website in the address bar, so a website login will not satisfy it.

Firefox words the same challenge as The proxy moz-proxy://host:port is requesting a username and password, sometimes followed by a realm the proxy sends. Other apps and operating systems use their own wording, such as this proxy requires a username and password. All of them mean the same stage: the proxy is waiting for its own credentials before it forwards anything.

Browsers prompt because most proxy settings have nowhere to keep a password. The Windows manual proxy pane stores only an address and port. Chromium ignores credentials written into manual proxy settings or a --proxy-server value, and a PAC script returns proxy addresses, never passwords. The browser therefore learns the credentials from you, from an extension that answers the challenge, or from a configured sign-in such as integrated authentication on a managed network.

Some proxies can instead accept connections from an approved source IP address without a password. That is an operator choice. Portproof GB traffic signs in with the generated username and proxy password; the shared pools offer no IP-allowlist alternative, so the browser must send those credentials.

Quick decision tree

  1. Did you, or software you installed, set up this proxy? If not, cancel and go to find out which proxy is asking. Do not guess a password for an unknown server.
  2. Is it a work or school proxy? Ask the administrator which account it expects; on managed networks it is often your organisation sign-in, but only they can confirm that.
  3. Is it a proxy you bought or run? Enter its username and password in the dialog. For Portproof, copy both values from the connection builder.
  4. Does the dialog return after you submit? Check the complete username, the current password and the port, then read the status in the 407 guide.
  5. Is there no dialog, but an error such as ERR_TUNNEL_CONNECTION_FAILED or CONNECT tunnel failed? In Chrome or Edge, use the ERR_TUNNEL_CONNECTION_FAILED guide; for curl and other clients, the CONNECT tunnel guide. For ERR_PROXY_CONNECTION_FAILED, use the Chrome connection guide; a refusal or timeout belongs in connection refused.

Find out which proxy is asking

  1. Cancel an unexpected prompt while you inspect the settings. Note the server address and port if the prompt shows them; do not guess a password.
  2. Check whether you recently added a proxy, changed Wi-Fi networks, enabled a browser extension or connected to a work network.
  3. Compare the configured host with the connection details supplied by the proxy operator. An account login page and a proxy endpoint can have different addresses.
  4. If a school or employer manages the device or network, send the administrator the prompt text and configured server. Keep the required configuration in place until they explain the change.

A profile can supply a proxy even when you did not enter one manually. Apple’s Global HTTP Proxy payload supports a manual server with authentication or an automatic PAC URL. On iPhone and iPad, inspect installed profiles under Settings > General > VPN & Device Management. See Apple’s managed proxy reference and profile guidance.

Use the connection credentials

Credentials with different jobs
CredentialWhere it belongs
Proxy username and passwordThe proxy authentication fields or the sign-in prompt for the recognised gateway.
Wi-Fi passwordJoining the wireless network. It is not automatically the proxy password.
Apple Account or device passwordApple services or device access. Do not try it as a proxy password unless your administrator explicitly tells you that it is the required account.
Website username and passwordSigning in to the destination website after the connection works.
Portproof account password or API keyAccount or API access, separate from the traffic gateway credential.

For Portproof, open the connection builder and copy all four connection values together: host gw.portproof.org, HTTP port 7000, the complete generated username and the current proxy password. The username carries your chosen pool, country and rotation settings. Keeping only the account prefix drops part of the connection configuration.

Enter original credential values in separate username and password fields. Do not URL-encode those fields or paste a full credential-bearing URL into the Server field. Preserve password whitespace; check for an extra line break introduced when copying. The 407 guide explains URL encoding when a client actually needs a proxy URL.

Fix the prompt in each browser and system

Chrome

Open chrome://settings/system to see where Chrome takes its proxy from. Usually the control reads Open your computer's proxy settings, meaning Chrome follows Windows or macOS. If an extension or policy controls the proxy, the page says so; check chrome://policy for managed settings. When the dialog appears for a proxy you recognise, enter its username and password there. Chromium does not use credentials embedded in manual proxy settings. Chromium’s credential behaviour.

To avoid typing the password for every new browser session, an extension that you trust can answer the 407 challenge for its configured proxy. The Chrome proxy extension guide walks through one setup with the HTTP port 7000. Chrome does not support SOCKS5 username/password authentication, so an authenticated SOCKS5 entry will not produce a working prompt.

Microsoft Edge

Edge is built on Chromium and shows the same sign-in dialog. Open edge://settings/system and choose Open your computer's proxy settings: on Windows, Edge normally follows the system proxy. Enter the proxy credentials in Edge’s dialog, not in Windows settings, and inspect edge://policy on a managed device before changing anything.

Firefox

Firefox can keep its own connection settings. Mozilla documents them under Settings > General > Network Settings in some versions and under the privacy and security controls in others; use the layout of your version. Check whether it uses no proxy, the system proxy, auto-detection, a PAC URL or a manual configuration. The manual fields hold host and port only; Firefox asks for the username and password when the proxy challenges it. If you let Firefox save that login, a stale saved password can be resubmitted after you change it, so check its saved logins for the proxy entry. Mozilla’s connection settings help and the Firefox proxy guide.

Windows system proxy

On Windows 10 and 11, open Settings > Network & internet > Proxy. Automatically detect settings, Use setup script and Manual proxy setup each select a proxy; the manual entry takes an address, a port and exceptions, with no username or password fields. The browser or app that sends the request therefore shows the prompt. Turn off an entry you added yourself and no longer use; leave settings managed by an organisation in place. Microsoft’s proxy settings help.

macOS system settings

In Apple’s macOS Tahoe 26 documentation, open Apple menu > System Settings > Network, select the active network service, then choose Details > Proxies. For a manual entry, check the server and port, enable Proxy server requires password if needed, and enter the issued username and password. Save with OK. Apple’s setup steps.

A password saved in that pane does not establish that Chrome or Edge will use it: both still handle the challenge in their own dialog. If the prompt keeps returning in Chrome on a Mac, enter the credentials in the browser dialog or use an authorised extension for that profile.

iPhone or iPad Wi-Fi settings

Open Settings > Wi-Fi, inspect the connected network, then choose Configure Proxy under HTTP Proxy. Apple’s developer walkthrough documents Manual with Server, Port and Authentication settings, or Automatic with a configuration URL. With a manual proxy you recognise, check the authentication fields and tap Save. See Apple’s Wi-Fi proxy walkthrough.

When the prompt keeps coming back

Change one thing at a time. Re-copy the complete connection username and current password, then retry one small authorised page. Confirm that the prompt names the same gateway. If it names another server, return to the routing settings; editing the first proxy’s password will not explain a challenge from a second one.

Check the protocol and port together. For Portproof’s authenticated HTTP connection, use the HTTP port 7000. HTTPS websites can use an HTTP proxy with CONNECT; changing to a SOCKS port merely because a page uses HTTPS is a different configuration. Chrome does not support SOCKS5 username/password authentication. See HTTP and SOCKS5 settings.

If the connection returns 407 Proxy Authentication Required, stop guessing from the prompt alone. Confirm the account balance and any gateway error code in the 407 diagnostic. An exhausted balance and rejected credentials can require different fixes. If an HTTPS request fails with CONNECT tunnel failed and a 403, 502 or 503 instead, the credentials were not the question: follow the CONNECT guide.

Remove a proxy you no longer use

On your own unmanaged device, record the selected mode, host, port and any PAC URL before removing an entry you added. On a Mac, turn off that entry in the network service’s Proxies pane. For a personal iPhone or iPad Wi-Fi entry, select Off in Configure Proxy and save. Reopen a small page on that same network and check the result.

If the setting returns, investigate the profile, extension or network configuration supplying it. Do not repeatedly delete required managed settings. Apple warns that deleting a profile also deletes its associated settings, apps and data. The administrator can correct the credential or reachability issue without losing that configuration.

Sources and scope

Primary references checked on 4 October 2026, with the Mozilla, Microsoft and MDN references added on 6 November 2026. Apple does not verify the literal prompt text for every app or current OS release in these references.

What is not allowed

Use a proxy only for services you are permitted to access. Follow the acceptable-use policy.

More in Connect and debug

Show 25 more

Buy mobile and residential proxy GB

Choose your GB or reserve a mobile device.

Buy pool GB Try 1 GB for EUR 1.49

Once per customer. Cryptocurrency network minimums and fees vary.