frp icon indicating copy to clipboard operation
frp copied to clipboard

Frps can't Listening ipv4

Open fengziyun opened this issue 2 years ago • 3 comments

Bug Description

[root@localhost frps]# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
[root@localhost frps]# uname -a
Linux localhost.localdomain 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

无法监听ipv4

[root@localhost frps]# netstat  -tnlp
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      786/rpcbind         
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1126/sshd           
tcp6       0      0 :::7000                :::*                    LISTEN      73367/./frps        
tcp6       0      0 :::111                  :::*                    LISTEN      786/rpcbind

试过很多版本

frpc Version

0.44.0

frps Version

0.44.0

System Architecture

Linux localhost.localdomain 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Configurations

[common]

bind_port = 7000 bind_addr = 0.0.0.0

Logs

No response

Steps to reproduce

  1. ./frps -c frps.ini
  2. netstat -tnlp

Affected area

  • [ ] Docs
  • [ ] Installation
  • [ ] Performance and Scalability
  • [ ] Security
  • [ ] User Experience
  • [ ] Test and Release
  • [ ] Developer Infrastructure
  • [ ] Client Plugin
  • [X] Server Plugin
  • [ ] Extensions
  • [ ] Others

fengziyun avatar Aug 22 '22 04:08 fengziyun

是私人服务器,不是云服务器

fengziyun avatar Aug 22 '22 04:08 fengziyun

看上去在监听ipv6实际上有可能是双栈都在监听

还是不行的话自行谷歌怎么关掉ipv6

Becods avatar Aug 22 '22 14:08 Becods

这个问题已经问过了,一句话说清楚就是ipv6可以同时监听ipv6和ipv4。 https://github.com/fatedier/frp/issues/838

YsMox avatar Sep 14 '22 19:09 YsMox

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

github-actions[bot] avatar Oct 15 '22 00:10 github-actions[bot]

您发给我的信件已经收到。Your letter to me has been received.

YsMox avatar Oct 15 '22 00:10 YsMox

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

github-actions[bot] avatar Nov 16 '22 00:11 github-actions[bot]

您发给我的信件已经收到。Your letter to me has been received.

YsMox avatar Nov 16 '22 00:11 YsMox