[GH-ISSUE #235] 请问在阿里云如何部署服务端 #162

Closed
opened 2026-05-05 11:53:48 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @ztj1993 on GitHub (Jan 16, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/235

[common]
bind_addr = 127.0.0.1

导致 x.x.x.x:7500 无法访问

如果
[common]
bind_addr = 0.0.0.0

导致 绑定到 ipv6 上

请问如何绑定到 ipv4上并且部署成功使用。

Originally created by @ztj1993 on GitHub (Jan 16, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/235 [common] bind_addr = 127.0.0.1 导致 x.x.x.x:7500 无法访问 ------------------------------------------------- 如果 [common] bind_addr = 0.0.0.0 导致 绑定到 ipv6 上 ------------------------------------------------- 请问如何绑定到 ipv4上并且部署成功使用。
Author
Owner

@recall704 commented on GitHub (Jan 17, 2017):

你可以直接写 ipv4 的地址啊

<!-- gh-comment-id:273061427 --> @recall704 commented on GitHub (Jan 17, 2017): 你可以直接写 ipv4 的地址啊
Author
Owner

@ztj1993 commented on GitHub (Jan 17, 2017):

找到问题了,iptables 防火墙的问题,万恶的防火墙

<!-- gh-comment-id:273125350 --> @ztj1993 commented on GitHub (Jan 17, 2017): 找到问题了,iptables 防火墙的问题,万恶的防火墙
Author
Owner

@mindfocus commented on GitHub (May 25, 2017):

说一下怎么配置的呗 我的也绑定在ipv6上 @ztj1993

<!-- gh-comment-id:303929888 --> @mindfocus commented on GitHub (May 25, 2017): 说一下怎么配置的呗 我的也绑定在ipv6上 @ztj1993
Author
Owner

@ztj1993 commented on GitHub (May 25, 2017):

@mindfocus 我的是直接按照官方的设置的,我的原有问题产生的原因是防火墙的问题;你要看哪个配置,晚上到家我看一下后,给你发下

<!-- gh-comment-id:303971331 --> @ztj1993 commented on GitHub (May 25, 2017): @mindfocus 我的是直接按照官方的设置的,我的原有问题产生的原因是防火墙的问题;你要看哪个配置,晚上到家我看一下后,给你发下
Author
Owner

@mindfocus commented on GitHub (May 28, 2017):

就转HTTP的就行 谢谢啦 现在只要绑定到00 就是ipv6 @ztj1993

<!-- gh-comment-id:304488230 --> @mindfocus commented on GitHub (May 28, 2017): 就转HTTP的就行 谢谢啦 现在只要绑定到00 就是ipv6 @ztj1993
Author
Owner

@ztj1993 commented on GitHub (May 28, 2017):

@mindfocus 我主要使用 ssh,这是我的配置,version 0.9.3 的。你可以参考一下,

1
2
3

<!-- gh-comment-id:304517887 --> @ztj1993 commented on GitHub (May 28, 2017): @mindfocus 我主要使用 ssh,这是我的配置,version 0.9.3 的。你可以参考一下, ![1](https://cloud.githubusercontent.com/assets/13493380/26529479/ffc9685e-43f2-11e7-96d6-c6ad8a9781b1.png) ![2](https://cloud.githubusercontent.com/assets/13493380/26529480/00089da8-43f3-11e7-80c9-01a2e3f361c0.png) ![3](https://cloud.githubusercontent.com/assets/13493380/26529481/0030a23a-43f3-11e7-8022-7e2c8ab083d4.png)
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#162
No description provided.