mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #730] frp 安裝 騰訊雲 Centos 7 只能監聽端口 tcp6 無法監聽 tcp #571
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#571
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 @cddisk2000 on GitHub (Apr 29, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/730
使用「frp_0.17.0_linux_amd64.tar.gz」版本。
背景啟動「nohup ./frps -c frps.ini &」
使用「netstat -ltunp」結果如下
[root@frp frp_0.17.0_linux_386]# netstat -ltunp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 815/sshd
tcp6 0 0 :::80 :::* LISTEN 2384/./frps
tcp6 0 0 :::433 :::* LISTEN 2384/./frps
tcp6 0 0 :::7000 :::* LISTEN 2384/./frps
udp 0 0 172.19.0.5:123 0.0.0.0:* 485/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 485/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 485/ntpd
udp6 0 0 :::123 :::* 485/ntpd
只有監聽「TCP6」端口
「frps.ini」配置文檔如下
[common]
bind_port = 7000
vhost_http_port = 80
vhost_https_port = 433
privilege_token = 123
[https]
type = https
@cddisk2000 commented on GitHub (May 1, 2018):
問題解決了,自己打錯 監聽通訊 Port
vhost_https_port = 443