I have been using VS Code for quite a while now, and I haven't had any problems until now. All of a sudden, I start getting this error when I try to run my code (connect EADDRNOTAVAIL 127.0.0.1:49363 - Local (127.0.0.1:49617)).
Here is my VS Code info:
Version: 1.71.2 (Universal)
Commit: 74b1f979648cc44d385a2286793c226e611f59e7
Date: 2022-09-14T21:05:37.721Z (2 wks ago)
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin x64 21.6.0
Sandboxed: No
Any suggestions on how I can get it working again. I am running macOS 12.6.
I just found a solution. It turns out that the interface was down. To fix this, I ran:
$ sudo ifconfig lo0 alias 127.0.0.1 up