Search code examples
phpcurlnetbeansfiddler

Why does curl need to be set this way to allow using fiddler and the rest doesn't?


I tried using curl with netbean and my traffic do not show up on fiddler.

I look things up and I saw

http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigurePHPcURL

It says I have to set proxy to

curl_setopt($ch, CURLOPT_PROXY, '127.0.0.1:8888');

I sort of understand.

But my visual studio, my firefox, and everything doesn't have to set proxy.

Why does my netbean curl requires me to do so?


Solution

  • Configure Browsers for Fiddler > Manual Configuration:

    To manually configure any browser to send traffic to Fiddler, set the browser to connect to a proxy server. This setting is usually in the Options or Preferences menu. Use these settings:

    Address: 127.0.0.1 Port: 8888

    So NetBeans requires the same settings for capturing cURL traffic.