> ## Documentation Index
> Fetch the complete documentation index at: https://docs.2extract.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Check the connection with curl

When a browser or script shows a generic connection error, curl can show you where the request stopped. Run it on the same device and use the proxy address from the profile or script that failed. Note whether the VPN was on during the check.

On Windows, open PowerShell from the **Start** menu. On macOS, press Command + Space and search for **Terminal**. On Linux, open the terminal from the applications menu. Choose the command for your system below.

1. Copy the proxy address from the profile that failed. If you imported a list, open that specific profile. For a script, use the proxy address from the failed request.

2. Replace the text in quotes after `--proxy` with that address. If your app uses separate fields or the format `host:port:user:pass`, use `PROTOCOL://PROXY_USERNAME:PROXY_PASSWORD@proxy.2extract.net:5555`. Use the protocol from your app. Copy the entire username starting with `2xt-customer-`, including any location and session parameters.

3. Run the command with those original settings and save the output. Generating a new list assigns a new session ID to each sticky session in the list.

```powershell Windows (PowerShell) theme={null}
curl.exe --verbose --include --silent --show-error --connect-timeout 10 --max-time 30 --noproxy localhost --proxy "PROTOCOL://PROXY_USERNAME:PROXY_PASSWORD@proxy.2extract.net:5555" "https://api.ipify.org"
```

```bash macOS / Linux theme={null}
curl --verbose --include --silent --show-error --connect-timeout 10 --max-time 30 --noproxy localhost --proxy "PROTOCOL://PROXY_USERNAME:PROXY_PASSWORD@proxy.2extract.net:5555" 'https://api.ipify.org'
```

Paste the completed command into your terminal and press Enter. Wait up to 30 seconds for the command to finish. Save the command, the time you ran the check, and all the output, including the final line with the IP address or error. Note whether the request went through a VPN.

> [card] [I can’t install or run curl](https://docs.2extract.com/troubleshooting/help.md)

> [card] [I got a result or connection error](https://docs.2extract.com/troubleshooting/curl-stage.md)

[Back to troubleshooting](https://docs.2extract.com/troubleshooting/start.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.