fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.33k stars 13.24k forks source link

端口被占用,怎么解决 #4429

Closed gongjianfeng1982 closed 1 month ago

gongjianfeng1982 commented 1 month ago

Bug Description

A地址:frpc(name = "p2p_siemens")电脑连接现场的设备192.168.8.8 服务器:frps 创建server地址1.1.1.1 B地址:frpc(name = "p2p_siemens_visitor")工程电脑连接远程设备192.168.8.8 工控电脑专业软件,不能修改ip为127.0.0.1,不能修改端口,固定端口102. 不知道这个问题怎么解决,普通的tcp可以连接上,但是中转会造成流量问题,我想通过xtcp直连。 请高手帮忙想个办法吗?

frpc Version

0.6

frps Version

0.6

System Architecture

windows10

Configurations

[[proxies]] # siemens server -> resmon.exe | netstat.exe -aon localIP = "192.168.8.8" localPort = 102 name = "p2p_siemens" secretKey = "xyz9527" type = "xtcp"

[[visitors]] # siemens client -> resmon.exe | netstat.exe -aon 停止102服务 Siemens S7DOS Help Service bindAddr = "127.0.0.1" bindPort = 102 name = "p2p_siemens_visitor" secretKey = "xyz9527" serverName = "p2p_siemens" type = "xtcp"

Logs

image

Steps to reproduce

  1. ...

Affected area

fatedier commented 1 month ago

无法解决,可以使用其他 VPN 类软件。