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

❌Error: Fail to connect to remote host #14

Open
tammarut opened this issue Mar 18, 2021 · 1 comment
Open

❌Error: Fail to connect to remote host #14

tammarut opened this issue Mar 18, 2021 · 1 comment

Comments

@tammarut
Copy link

tammarut commented Mar 18, 2021

I just set breakpoint and run :NodeInspectStart "connect" but got error!
How to fix this? πŸ˜…
β€”β€”β€”β€”β€”β€”β€”β€”
b5ca3766221d551d8e3dd4ffe30f7dfc.jpg

β€”β€”β€”β€”β€”β€”β€”β€”
My laptop

  • WSL2 + Ubuntu 18.04
  • Neovim: v0.5.0-dev+1055-g8950f4e94
  • Node: v12.21.0
@eliba2
Copy link
Owner

eliba2 commented Mar 18, 2021

Hi,
Vim and node-inspect connect on port 9514. So, that might be of these reasons :

  • port 9514 is not available
  • this is the second plugin instance you run (you can't open two instances of the plugin at the same time)
  • node is not available in the path

Try and check if the port is taken - on ubuntu you can try "lsof -i :9514" (will return non-empty if used).
The port can't be configured currently, but its on the roadmap.

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

2 participants