douyong1850 2017-11-06 17:43
浏览 105
已采纳

为什么curl需要以这种方式设置以允许使用fiddler而其余部分不允许?

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?

  • 写回答

1条回答 默认 最新

  • douyun3631 2017-11-06 20:26
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 onlyoffice编辑完后立即下载,下载的不是最新编辑的文档
  • ¥15 求caverdock使用教程
  • ¥15 Coze智能助手搭建过程中的问题请教
  • ¥15 12864只亮屏 不显示汉字
  • ¥20 三极管1000倍放大电路
  • ¥15 vscode报错如何解决
  • ¥15 前端vue CryptoJS Aes CBC加密后端java解密
  • ¥15 python随机森林对两个excel表格读取,shap报错
  • ¥15 基于STM32心率血氧监测(OLED显示)相关代码运行成功后烧录成功OLED显示屏不显示的原因是什么
  • ¥100 X轴为分离变量(因子变量),如何控制X轴每个分类变量的长度。