Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下服务器部署的问题 #85

Open
liulei120 opened this issue Dec 5, 2024 · 1 comment
Open

请教一下服务器部署的问题 #85

liulei120 opened this issue Dec 5, 2024 · 1 comment

Comments

@liulei120
Copy link

liulei120 commented Dec 5, 2024

你好,麻烦问一下,我下载Windows版本simple-one-api放在本机,配置好config.json以后用NextChat网页客户端连接本地127.0.0.1:9090的服务很正常,各家大模型都能正常返回数据,但是我把simple-one-api完整复制到局域网的另外一台WINDOWS电脑里面,用192.168.1.3:9090这样的地址就不能连接上,我确信局域网的另外一台电脑防火墙等等都是关闭的,我用浏览器直接访问192.168.1.3:9090/v1也能返回404错误,所以我确信两台电脑的连接没问题,但是用NextChat网页客户端连接192.168.1.3:9090就会提示
'
{
"error": true,
"message": "Failed to fetch"
}
'

另外我使用一台有公网IP的服务器使用DOCKER部署,用公网IP连接也会出现一样的提示,请问是因为这个软件不能服务器部署,只能本地使用吗?

@andyyang158
Copy link

同样的问题 用docker部署simple-one-api,用另个一docker部署的chatgpt-next-web,用IP:端口无法访问也是提示如下错误
{
"error": true,
"message": "Failed to fetch"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants