mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2330] frps 运行报错 listen tcp 0.0.0.0:80: bind: permission denied #1846
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#1846
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 @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
@blizard863 commented on GitHub (Mar 25, 2021):
看下是否端口被占用,或者 改下其他的端口试试?
@ChinaParrot commented on GitHub (Mar 26, 2021):
感谢大家,我找到问题了,frps.service 的用户有问题User=nobody
@stop-coding commented on GitHub (Jun 19, 2022):
改成啥才可以?
@heathcliff-hu commented on GitHub (Mar 8, 2023):
@stop-coding