ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
72.61k stars 57.69k forks source link

请问本地部署以后怎么才能外网访问呢? #4905

Open 1825679767 opened 3 days ago

1825679767 commented 3 days ago

搭建完成后使用“yarn start”启动,本地http://localhost:3000能正常使用,但是根据提示使用“node .next/standalone/server.js”命令打开想要换成外网访问,就报错了WHITE_WEBDEV_ENDPOINTS参数也是填写的0.0.0.0

nextchat-manager[bot] commented 3 days ago

Please follow the issue template to update title and description of your issue.

Issues-translate-bot commented 3 days ago

Bot detected the issue body's language is not English, translate it automatically.


Title: How can I access the external network after local deployment?

After the construction is completed, use "yarn start" to start. The local http://localhost:3000 can be used normally. However, if you use the "node .next/standalone/server.js" command to open it according to the prompts and want to switch to external network access, an error will be reported. The WHITE_WEBDEV_ENDPOINTS parameter is also filled in as 0.0.0.0

1825679767 commented 3 days ago

▲ Next.js 14.1.1