Skip to main content
All CollectionsTroubleshooting
How to Test a Proxy on macOS
How to Test a Proxy on macOS

Ensure your internet traffic is routed through your proxy correctly. Here's a simple guide to testing proxies on macOS

A
Written by Analyce Nazario
Updated over 2 weeks ago

Why Test Your Proxy?

  • Verify if the proxy is working: Make sure your connection goes through the proxy server.

  • Check your IP address: See if your public IP has changed to the proxy server’s IP.

  • Troubleshoot issues: Solve any connection problems related to the proxy.

Step-by-Step Guide to Test a Proxy on macOS

Method 1: Using Terminal with curl

You can use the curl command in Terminal to test if your proxy is working properly.

  1. Open Terminal:

    • Open Finder > Applications > Utilities > Terminal, or use Spotlight to search for it.

  2. Run the curl Command:

    • Type the following command, replacing the placeholders with your actual proxy details:

    curl -x <proxy_ip>:<proxy_port> -U <username>:<password> http://www.example.com

    Example:

    curl -x 65.111.0.107:9090 -U hak_sivN21R:XaW4fdkBpgl0uhz http://www.example.com

    Explanation:

    • -x <proxy_ip>:<proxy_port>: Specifies the proxy IP and port (e.g., 65.111.0.107:9090).

    • -U <username>:<password>: Provides the username and password for proxy authentication (if needed).

    • http://www.example.com: The website you want to test through the proxy.

  3. Check the Output:

    • If the proxy is working, you'll see the website content returned in the Terminal.

    • If it’s not working, you’ll see an error message.


Method 2: Checking Your Proxy IP in a Web Browser

If you want to visually confirm whether the proxy is active and working, you can check your public IP address through a browser.

  1. Set the Proxy in macOS:

    • Go to System Preferences > Network.

    • Select your active network connection (e.g., Wi-Fi or Ethernet).

    • Click Advanced, then go to the Proxies tab.

    • Check HTTP or SOCKS Proxy, and enter the proxy IP, port, and authentication details.

    • Click OK and Apply.

  2. Check Your IP Address:

    • Open your web browser (Safari, Chrome, etc.).

    • If the proxy is working, your IP address should be the proxy server’s IP instead of your actual IP.


Troubleshooting Common Proxy Issues

  • Incorrect proxy details: Double-check the IP, port, username, and password.

  • Proxy not responding: Try a different site to confirm if the issue is with the proxy or the site.

  • Proxy not showing in browser: Clear your browser cache and try again.


Testing a proxy on different devices is simple and quick. By following these steps, you can confirm that your proxy is working and that your internet traffic is securely routed.

If you have any questions or problems with your proxy setup, you can reach our support team through the chat on our website or on our Discord server. We're here to help!

Did this answer your question?