Skip to content

VS Code Remote Still can't forward port #120993

@jigar288

Description

@jigar288

@jigar288 Would you be able to collect some logs? I have added more logging since 1.54.1, so if you could try with VS Code Insiders I will get a bit more information. If not, there are still useful logs in 1.54.1.

  1. Connect to your remote.
  2. Run the command "Developer: Set Log Level..." and choose "Trace"
  3. Try to forward the port as you say.
  4. Open the "Output" view. You can use the command "Output: Focus on Output View".
  5. The output view has a dropdown. Please share the output from the following log sources:
  • Log (Window)
  • Log (Extension Host)
  • Log (Remote Extension Host).

In order to resolve the EADDRINUSE issue I just manually killed the port so that I can run my node js application. Now my terminal is able to run my app and I got a message Express server listening on port 8000.

Maybe you had a left over process running from a previous time that you ran your application? The terminal is just a terminal, so if you get an error when running that command then it isn't coming from VS Code.

Originally posted by @alexr00 in #118395 (comment)

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions