michal-kocarek / PhpOnWindows

Bridge to PHP installed in Bash on Ubuntu on Windows
MIT License
76 stars 15 forks source link

Unable to connect to 127.0.0.1:9000 #13

Open recci opened 6 years ago

recci commented 6 years ago

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 6 years ago

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 6 years ago

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 6 years ago

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.