frpc 客户端自定义端口不起作用
r0o983 opened this issue · comments
Rookie_ commented
Bug Description
直接看配置文件。
client
/etc/systemd/system ❯ cat frpc.service with root@pve at 15:40:16
[Unit]
# 服务名称,可自定义
Description = frp server
After = network.target syslog.target
Wants = network.target
[Service]
Type = simple
# 启动frps的命令,需修改为您的frps的安装路径
ExecStart = /usr/bin/frpc -c /etc/frp/frpc.toml
[Install]
WantedBy = multi-user.target
[common]
serverAddr = "123.129.27.9"
serverPort = 7100
auth.method = "token"
auth.token = "pMudjkashduqwnjk"
log_file = ./frpc.log
log_level = info
log_max_days = 30
end
WARNING: ini format is deprecated and the support will be removed in the future, please use yaml/json/toml format instead!
login to the server failed: dial tcp 0.0.0.0:7000: connect: connection refused. With loginFailExit enabled, no additional retries will be attempted
frpc Version
0.58.0
frps Version
0.58.0
System Architecture
linux/amd64
Configurations
客户端无法使用自定义端口
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
Rookie_ commented
按照新版重写一遍就好了。