mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2497] docker运行frp,运行stcp模式,无法对外暴露端口提供服务 #1985
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1985
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @myhoger on GitHub (Jul 26, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2497
windows
docker-desktop
ubuntu
没有报错
frp_0.37.0_linux_amd64
在容器内部可以访问,通过容器暴露端口,宿主机上则无法访问
@blizard863 commented on GitHub (Jul 27, 2021):
可以提供下错误日志, 而且没有特别明白,你的部署方式,比如什么组件放在了 docker,什么组件放在了宿主机。
@axboy commented on GitHub (Aug 11, 2021):
server网络建议使用host模式,更不需要考虑网络端口映射情况,
我使用这个挺稳定,因自己使用,frp版本相比最新版更新较慢,想起来就更新一下。
https://github.com/axboy/dockerfiles/tree/master/frp
@oxkenshin commented on GitHub (Aug 13, 2021):
wsl2的问题,wsl2的host模式把端口暴露到docker daemon的host下,而不是wsl的命令行环境的host。要么把服务也放到docker里面,要么把frp从docker里面拿出来。
@github-actions[bot] commented on GitHub (Sep 13, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.