[GH-ISSUE #2330] frps 运行报错 listen tcp 0.0.0.0:80: bind: permission denied #1846

Closed
opened 2026-05-05 13:11:40 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @ChinaParrot on GitHub (Mar 24, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2330

frps版本:0.35.1

frps.ini 配置添加vhost_http_port = 80

[common]
#must
bind_addr = 0.0.0.0
bind_port = 50001
vhost_http_port = 80
vhost_https_port = 443
vhost_http_timeout = 120

运行:[root@ecs-6b63 frp]# systemctl start frps

Mar 25 00:30:37 ecs-6b63 frps: Create vhost http listener error, listen tcp 0.0.0.0:80: bind: permission denied

Originally created by @ChinaParrot on GitHub (Mar 24, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2330 frps版本:0.35.1 frps.ini 配置添加vhost_http_port = 80 [common] #must bind_addr = 0.0.0.0 bind_port = 50001 vhost_http_port = 80 vhost_https_port = 443 vhost_http_timeout = 120 运行:[root@ecs-6b63 frp]# systemctl start frps Mar 25 00:30:37 ecs-6b63 frps: Create vhost http listener error, listen tcp 0.0.0.0:80: bind: permission denied
gitea-mirror 2026-05-05 13:11:40 -06:00
Author
Owner

@blizard863 commented on GitHub (Mar 25, 2021):

看下是否端口被占用,或者 改下其他的端口试试?

<!-- gh-comment-id:806308593 --> @blizard863 commented on GitHub (Mar 25, 2021): 看下是否端口被占用,或者 改下其他的端口试试?
Author
Owner

@ChinaParrot commented on GitHub (Mar 26, 2021):

感谢大家,我找到问题了,frps.service 的用户有问题User=nobody

<!-- gh-comment-id:807849414 --> @ChinaParrot commented on GitHub (Mar 26, 2021): 感谢大家,我找到问题了,frps.service 的用户有问题User=nobody
Author
Owner

@stop-coding commented on GitHub (Jun 19, 2022):

改成啥才可以?

<!-- gh-comment-id:1159603097 --> @stop-coding commented on GitHub (Jun 19, 2022): > 改成啥才可以?
Author
Owner

@heathcliff-hu commented on GitHub (Mar 8, 2023):

@stop-coding

改成啥才可以?

User = root
<!-- gh-comment-id:1459334614 --> @heathcliff-hu commented on GitHub (Mar 8, 2023): @stop-coding > > > > 改成啥才可以? ```bash User = root ```
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#1846
No description provided.