0
I've loaded xdebug 2.1.2 and in my phpinfo it seems to work however I want to know how can I verify that xdebug is listen to port 9000? Normally I would use a reverse shell to xdebug but with my vmware on my local box I want a normal remote session? I can ping my host from my virtual machine, I can connect to my webserver from my host to my virtual machine and also open an ftp session but I can't make my IDE connect to xdebug? I've already forward port 80 and 9000 from my vmnet8 to my host port?
Here is my vmware-netconfig:
Would it work when I use a reverse shell from my host to my virtual machine? I can't get that work, too. I use cygwin to open a reverse shell but Komodo can't connect to xdebug? The other problem is that Komodo does only listen to localhost but my vm is not localhost. There is also option to listen to debug proxy but that doesn't work either. – Gigamegs – 2012-05-13T14:20:17.970
You should not need the reverse shell. I am able to ping and telnet to my host windows 7 ip address where eclipse is. Restart apache and tell me what the remote log file says? – jason – 2012-05-13T18:21:20.693
telnet 192.168.92.128:9000 doesn't work. I can ping and http://192.168.92.128 the webserver but no telnet. I've forward the port 9000 in my vmnetwork config to no avail. Obviously there is no new line in my remote log. xdebug is running only when I load komodo inside my virtual machine and use localhost in the settings. I don't understand either. I also never achieved to run xdebug and komodo without a reverse shell with a REMOTE host. It's like komodo can only connect to port 9000 in localhost??? It makes me crazy.
– Gigamegs – 2012-05-13T19:23:44.873Telnet doesn't use colons. It's like this "telnet 192.168.92.128 9000" – jason – 2012-05-13T23:21:15.050
Do you have Komodo? This seems to me a Komodo problem and not a telnet or vm problem? Do you have forwarded your port? – Gigamegs – 2012-05-14T05:30:02.587
When I try telnet again without colon it's the same. I've uploaded my vmware netconfig. My subnet us 192.168.92.0, my guest ip is 192.168.92.128. I've forwarded port 80 and 9000 however I can ftp to my guest os without forwarding? Means I can telnet to port 21??? I've ftp connection with my guest os (and http connection). Thanks for helping! – Gigamegs – 2012-05-14T09:04:40.587
Sounds like Komodo as well. run "netstat -a" and see if anything is even listening on 9000 on your windows machine. – jason – 2012-05-14T12:32:21.030
netstat -a on my host gives me nothing. On my guest I've lighttpd and xdebug working. I don't even have a firewall activated!! – Gigamegs – 2012-05-14T12:58:02.657