Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

为啥 docker 启动后无法用公网ip+端口访问? #1777

Unanswered
piwawa asked this question in Q&A
Discussion options

docker run -d
--name=maxkb
--restart=always
-p 41540:8080
-v ./maxkb:/var/lib/postgresql/data
-v ./python-packages:/opt/maxkb/app/sandbox/python-packages
cr2.fit2cloud.com/1panel/maxkb

启动后可以本地 127.0.0.1:41540 访问,但无法用 公网ip:41540 访问,防火墙全关,自己家的服务器没安全组,服务器其他应用都正常

You must be logged in to vote

Replies: 1 comment

Comment options

你是使用内网穿透技术还是家里就有公网ip

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /