Skip to content

端口占用不释放 #5080

@supersndqd

Description

@supersndqd

Bug Description

我一台机器使用ssh -R 把端口8000映射到客户端的127.0.0.1:8000上,然后客户端把8000推送到服务器,我ssh断开后,8000端口仍然被frpc占用,但是如果客户端配置文件里两个端口不一样,就没有这个问题

frpc Version

0.65.0

frps Version

0.65.0

System Architecture

alma linux 9

Configurations

root@:~# cat /etc/frp/frps.toml
bindPort = 58080
webServer.addr = "0.0.0.0"
webServer.port = 60080
webServer.user = ""
webServer.password = "
*"

[root@yannanbaolong ~]# cat /etc/frpc.toml
serverAddr = "*******************************"
serverPort = 58080

[[proxies]]
name = "1111"
type = "tcp"
localIP = "127.0.0.1"
localPort = 8000
remotePort = 8000

Logs

No response

Steps to reproduce

...

Affected area

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions