Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Request] 是否支持公网IP版本部署? #6136

Closed
nightzjp opened this issue Feb 14, 2025 · 13 comments
Closed

[Request] 是否支持公网IP版本部署? #6136

nightzjp opened this issue Feb 14, 2025 · 13 comments
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@nightzjp
Copy link

🥰 需求描述

尝试了下在公网服务器里通过IP的方式部署,部署成功之后容器内部无法访问服务器公网IP(域名没我内天)。
我尝试通过host的模式可以正常访问。
有朋友通过公网IP的方式部署且可以正常访问的嘛~

🧐 解决方案

执行一键部署脚本。选择IP部署之后可以通过公网IP正常访问(域名备案比较麻烦)

📝 补充信息

No response

@nightzjp nightzjp added the 🌠 Feature Request New feature or request | 特性与建议 label Feb 14, 2025
@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Requirement description

I tried to deploy it through IP in the public network server. After the deployment is successful, the server's public network IP cannot be accessed within the container (the domain name is not my own).
I tried to access it normally through the host mode.
Is there a friend who deploys it through public IP and can access it normally?

🧐 Solution

Execute one-click deployment scripts. After selecting IP deployment, you can access it normally through the public network IP (domain name registration is more troublesome)

📝 Supplementary information

No response

@lobehubbot
Copy link
Member

👀 @nightzjp

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@SpeedupMaster
Copy link
Contributor

好像是支持公网IP部署的

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems to support public IP deployment

@nightzjp
Copy link
Author

好像是支持公网IP部署的

需要做啥特殊的配置吗?我公网IP配置之后容器访问不了公网IP

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems to support public IP deployment

Do you need to make any special configuration? After my public IP configuration, the container cannot access the public IP

@WeberKang
Copy link

需要做啥特殊的配置吗?我公网IP配置之后容器访问不了公网IP

你是不是没有开放对应端口

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Do you need to make any special configuration? After my public IP configuration, the container cannot access the public IP

Don't you open the corresponding port

@nightzjp
Copy link
Author

需要做啥特殊的配置吗?我公网IP配置之后容器访问不了公网IP

你是不是没有开放对应端口

我所有的端口都开了。我用官方的一键部署脚本部署的。部署之后我进入到lobe容器。发现无法访问我这台服务器的公网IP。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Do you need to make any special configuration? After my public IP configuration, the container cannot access the public IP

Do you have no corresponding ports opened?

All my ports are open. I deployed it with the official one-click deployment script. After deployment, I entered the lobe container. I found that I could not access the public IP of my server.

@WeberKang
Copy link

我所有的端口都开了,检查下服务器内防火墙,要是云服务器的话你看下服务器供应商的防火墙。也可以看看docker 映射出来的端口是否在服务器上有对应的映射

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


All my ports are open. Check the firewall in the server. If it is a cloud server, look at the firewall of the server vendor. You can also see if the port mapped by docker has a corresponding mapping on the server.

@arvinxx
Copy link
Contributor

arvinxx commented Feb 14, 2025

我所有的端口都开了。我用官方的一键部署脚本部署的。部署之后我进入到lobe容器。发现无法访问我这台服务器的公网IP。

要看下是否允许容器出口流量

@lobehub lobehub locked and limited conversation to collaborators Feb 14, 2025
@arvinxx arvinxx converted this issue into discussion #6145 Feb 14, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

No branches or pull requests

5 participants