SaekiRaku / vscode-rainbow-fart

一个在你编程时疯狂称赞你的 VSCode 扩展插件 | An VSCode extension that keeps giving you compliment while you are coding, it will checks the keywords of code to play suitable sounds.
https://saekiraku.github.io/vscode-rainbow-fart/
MIT License
4.93k stars 242 forks source link

mac端vscode无法找到可用端口 #124

Open TaoziDeGitHub opened 4 years ago

TaoziDeGitHub commented 4 years ago

我启用的时候弹出了这个: image

输入端口后: image 不管输入什么端口都这样,求助。

SaekiRaku commented 4 years ago

Hi, 彩虹屁启动的时候会分别检测 unspecified IPv4/IPv6127.0.0.1localhost 上的端口,导致端口检测为被占用可能有以下几种情况:

  1. 您启动了某个服务,覆盖了大部分/全部端口(例:docker run ... -p 3000:9999)。
  2. 您的 Host 设置中将 localhost 映射到了某个非 127.0.0.1 的地址(这里检测 localhost 其实有些多余,如果是因为这个问题,下个版本将考虑去掉这条)。

麻烦您检查下是否有上述问题。