Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to 127.0.0.1:9000 #13

Open
recci opened this issue Jun 14, 2018 · 3 comments
Open

Unable to connect to 127.0.0.1:9000 #13

recci opened this issue Jun 14, 2018 · 3 comments

Comments

@recci
Copy link

recci commented Jun 14, 2018

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
Copy link
Author

recci commented Jun 14, 2018

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
Copy link
Author

recci commented Jun 21, 2018

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
Copy link
Author

recci commented Jun 22, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant