mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #837] frps不设置bind_addr时默认绑定到IPv6 #655
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#655
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 @qakcn on GitHub (Jun 22, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/837
frp版本0.20.0
这似乎是golang的通病了,之前在kcptun和ngrok上都发现过。
当不设置
bind_addr时,默认只会绑定到IPv6地址::,不会绑定到IPv4地址0.0.0.0。如果我想同时绑定到IPv4和IPv6,该怎么办?
@qakcn commented on GitHub (Jun 22, 2018):
设置了
bind_addr = 0.0.0.0还是绑定到IPv6。运行环境:
Ubuntu 18.04 x64
设置:
结果:
运行
netstat -nl46得到@fatedier commented on GitHub (Jun 22, 2018):
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
@MYZ6 commented on GitHub (Nov 29, 2018):
貌似原因:我换了一台新的阿里云服务器,公网IP变成了所谓的松耦合;这就叫人郁闷了,我有root权限,但是没有相应的阿里云账号
@SeanDemo2017 commented on GitHub (Nov 29, 2018):
同求解决办法,在centos上正常,在ubuntu下就见鬼了
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.