douluan5738 2011-02-13 18:40
浏览 42

Zend REMOTE DEBUGGING帮助!

i have spent the last 2 days trying to get remote debugging working from my windows machine at home to my remote centOS server running WHM/Cpanel..

I am coming from a VS background and can't believe it can be this difficult. Feeling pretty useless at this point!

Ok boo hoo for me. Here is my setup:

  • Firewall on local windows machine is turned OFF
  • Zend remote debugger installed and confirmed through phpinfo.php
  • dummy.php installed on webroot of project
  • zend_debugger.allow_hosts=24.150.xxx.xx,192.168.1.118,127.0.0.1

the first ip is my router IP, then my machine ip..I keep getting the following error:

Failed to connect to host '192.168.1.118'. Host '127.0.0.1' is not allowed to open debug sessions - please configure zend_debugger.allow_hosts in the ini file.

ANY help is greatly appreciated! thanks!

  • 写回答

1条回答 默认 最新

  • dongxibeng5324 2011-02-13 22:17
    关注

    It looks like you're using NAT on your local network which means that you need to either explicitly pass connections on port 10120 (you will need to verify this) to your local deve box or use tunneling. I would recommend tunneling (http://kb.zend.com/index.php?View=entry&EntryID=109) since it will probably be easier.

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog