首页 > 解决方案 > 无法使用 Intellij 运行反应应用程序

问题描述

我使用 linux,我只是尝试启动一个反应应用程序,然后我从 Intellij 生成。

Attempting to bind to HOST environment variable: linux-66w6
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: https://xxx.x/CRA-advanced-config


Process finished with exit code 2



Compiled successfully!

You can now view premier-projet in the browser.

  http://linux-66w6:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

我无法访问

http://linux-66w6:3000

尝试使用 localhost, 127.0.0.1 ... 结果相同

在控制台中,主机名返回

linux-66w6

标签: reactjslinuxintellij-ideanpm

解决方案


推荐阅读