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

DockerV2.3.1部署,端口无法改成80 #171

Open
madofm opened this issue Jun 14, 2024 · 4 comments
Open

DockerV2.3.1部署,端口无法改成80 #171

madofm opened this issue Jun 14, 2024 · 4 comments

Comments

@madofm
Copy link

madofm commented Jun 14, 2024

如题。启动脚本如下:
docker run -d
--name wewe-rss
--ip=192.168.0.X
--network macvlan
-p 80:4000
-e DATABASE_TYPE=sqlite
-e AUTH_CODE=123567
-v $(pwd)/data:/app/data
cooderl/wewe-rss-sqlite:latest

替换回4000即可正常登录。请解答,谢谢。

@ztm0929
Copy link
Contributor

ztm0929 commented Jun 14, 2024

也许是端口已占用,也许是防火墙没有放行。

@madofm
Copy link
Author

madofm commented Jun 15, 2024

端口肯定没占用。我通过macvlan指定了一个单独的ip地址用于访问。但我设置多个端口转发时,只有4000可以使用,80、443都失败。如果您配置了独立macvlan网络,使用我的启动命令,应该可以复现该问题。

@ztm0929
Copy link
Contributor

ztm0929 commented Jun 27, 2024

端口肯定没占用。我通过macvlan指定了一个单独的ip地址用于访问。但我设置多个端口转发时,只有4000可以使用,80、443都失败。如果您配置了独立macvlan网络,使用我的启动命令,应该可以复现该问题。

@madofm 网络环境是家庭宽带吗?如果是80、443端口都失败的话,极有可能是被运营商封锁了,需要自行备案或放弃这两个端口。

@madofm
Copy link
Author

madofm commented Jul 3, 2024

端口肯定没占用。我通过macvlan指定了一个单独的ip地址用于访问。但我设置多个端口转发时,只有4000可以使用,80、443都失败。如果您配置了独立macvlan网络,使用我的启动命令,应该可以复现该问题。

@madofm 网络环境是家庭宽带吗?如果是80、443端口都失败的话,极有可能是被运营商封锁了,需要自行备案或放弃这两个端口。

我是在内部网络运行,设定的192.168.0.X内网地址,肯定不存在端口占用问题的。确认没有ip冲突。

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