mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3917] 升级后外部无法访问使用nginx的网站 #3106
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#3106
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 @cc0h on GitHub (Jan 7, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/3917
Bug Description
之前用NGINX和0.38.0的frp自己做了个静态网站,更新frp后外部不能访问这个网站了
frpc Version
0.53.2
frps Version
0.53.2
System Architecture
linux/amd64
Configurations
proxies
name = "srv"
type = "tcp"
localIP = "127.0.0.1"
loaclPort = 80
remotePort = 8089
Logs
2024/01/07 09:14:12 [E] [proxy.go:204] [1144260ce720d4d7] [dynamicx.srv] connect to local service [127.0.0.1:0] error: dial tcp 127.0.0.1:0: connect: connection refused
Steps to reproduce
...
Affected area
@cc0h commented on GitHub (Jan 7, 2024):
add more log
2024/01/07 11:25:25 [I] [root.go:141] start frpc service for config file [/etc/frpc/frpc.toml]
2024/01/07 11:25:25 [I] [service.go:287] try to connect to server...
2024/01/07 11:25:25 [I] [service.go:279] [6201b1651447d84c] login to server success, get run id [6201b1651447d84c]
2024/01/07 11:25:25 [I] [proxy_manager.go:173] [6201b1651447d84c] proxy added: [dynamicx.ssh dynamicx.srv]
2024/01/07 11:25:25 [I] [control.go:169] [6201b1651447d84c] [dynamicx.ssh] start proxy success
2024/01/07 11:25:25 [I] [control.go:169] [6201b1651447d84c] [dynamicx.srv] start proxy success
2024/01/07 11:25:44 [E] [proxy.go:204] [6201b1651447d84c] [dynamicx.srv] connect to local service [0.0.0.0:0] error: dial tcp 0.0.0.0:0: connect: connection refused
@xqzr commented on GitHub (Jan 7, 2024):
它们没有起作用
@fatedier commented on GitHub (Jan 8, 2024):
新增了一个参数
--strict_config,加上这个参数会一定程度上避免这样的问题。@superzjg commented on GitHub (Jan 8, 2024):
我觉得参数从官方示例直接复制,粘贴会比较好,手打容易出问题,还不自知。
@cc0h commented on GitHub (Jan 13, 2024):
我换了一个远程端口之后问题解决了,感谢各位