[GH-ISSUE #2282] 双栈ipv6下连接服务端监听端口提示出错 #1814

Closed
opened 2026-05-05 13:10:21 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Hokia on GitHub (Mar 8, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2282

root@ecs:/frp# ./frpc -c ./frpc.ini
dial tcp [fe80::26b:eaff:fad2:867c]:7000: connect: invalid argument
[2]+ 已终止 nohup ./frpc -c ./frpc.ini
root@ecs:/frp# nohup ./frpc -c ./frpc.ini&

=====================================
frps.ini已经添加bind_addr = [::]
想询问一下在双栈环境下是否可以通过v6连接监听端口,谢谢!

Originally created by @Hokia on GitHub (Mar 8, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2282 > root@ecs:/frp# ./frpc -c ./frpc.ini > dial tcp [fe80::26b:eaff:fad2:867c]:7000: connect: invalid argument > [2]+ 已终止 nohup ./frpc -c ./frpc.ini > root@ecs:/frp# nohup ./frpc -c ./frpc.ini& ===================================== frps.ini已经添加bind_addr = [::] 想询问一下在双栈环境下是否可以通过v6连接监听端口,谢谢!
Author
Owner

@yuyulei commented on GitHub (Mar 10, 2021):

Now you have to use config.

frps.ini

bind_add = [::]

frpc.ini

server_addr = ::

Later, we should make ipv6 localhost consistent(use ::, not [::]).

<!-- gh-comment-id:795121602 --> @yuyulei commented on GitHub (Mar 10, 2021): Now you have to use config. frps.ini ``` bind_add = [::] ``` frpc.ini ``` server_addr = :: ``` Later, we should make ipv6 localhost consistent(use ::, not [::]).
Author
Owner

@yuyulei commented on GitHub (Mar 12, 2021):

@Hokia next release will be ok.

<!-- gh-comment-id:797190395 --> @yuyulei commented on GitHub (Mar 12, 2021): @Hokia next release will be ok.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1814
No description provided.