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

VSCode only connects to a localhost TCP host #305

Open
thoom opened this issue May 8, 2018 · 0 comments
Open

VSCode only connects to a localhost TCP host #305

thoom opened this issue May 8, 2018 · 0 comments

Comments

@thoom
Copy link

thoom commented May 8, 2018

The VSCode extension only connects to a TCP host on 127.0.0.1. This works fine for most PHP setups. However, if using PHP in a docker container on Docker for Mac with a loopback, it cannot connect since the host IP is not 127.0.0.1.

The language server supports talking to another TCP host, but there isn't a configuration option to do so in VSCode.

A php.tcpHost user setting should be added to support connecting to another TCP host.

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