michal-kocarek/PhpOnWindows

Unable to connect to 127.0.0.1:9000

recci opened this issue · 3 comments

recci commented

This was working fine but all of a sudden iv started getting

fsockopen(): unable to connect to 127.0.0.1:9000 (No connection could be made because the target machine actively refused it.
) in C:\PhpOnWindows\php-bridge.php on line 199

Something must have changed but i cant see what?

recci commented

I think something has changed in the last windows update. Its preventing php.cmd from finding php in the ubuntu subsystem?

I am in the middle of a project and now debugger stopped working Great!

recci commented

hello? I need help with this. I can no longer get it to find my php installation in ubuntu.

It always says Path to PHP executable in file is not valid.

I have created my own php.cmd file that runs but i dont know how to get xdebug working with it

@echo off
SET cmd=%*
SET cmd=%cmd:C:=/mnt/c/%
SET cmd=%cmd:=/%
SET cmd=%cmd:"="%
SET cmd=C:\Windows\System32\bash.exe -c "php %cmd%"
CALL %cmd%

recci commented

I have tried everything including turning off the windows firewall completely and no matter what I do I cannot open IDE socket!. unable to connect to 127.0.0.1:9000 (No connection could be made because the target machine actively refused it.