mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3505] Ubuntu运行frpc出现dial tcp: lookup http on 192.168.1.1:53: no such host #2799
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#2799
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 @Canvas-Atomer on GitHub (Jun 29, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3505
Bug Description
在运行frpc -c frpc.ini后,报错
2023/06/29 17:58:18 [I] [root.go:217] start frpc service for config file [frpc.ini]
2023/06/29 17:58:18 [W] [service.go:131] login to server failed: dial tcp: lookup http on 192.168.1.1:53: no such host
2023/06/29 17:58:18 [I] [root.go:237] frpc service for config file [frpc.ini] stopped
先前我在win10上成功配置过,frpc.ini是直接复制我在windows上的。
frpc Version
0.50.0
frps Version
0.50.0
System Architecture
linux/amd64
Configurations
[common]
server_addr = #我的服务器地址
server_port = 7000
token = abc123
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 33389
Logs
2023/06/29 17:58:18 [I] [root.go:217] start frpc service for config file [frpc.ini]
2023/06/29 17:58:18 [W] [service.go:131] login to server failed: dial tcp: lookup http on 192.168.1.1:53: no such host
2023/06/29 17:58:18 [I] [root.go:237] frpc service for config file [frpc.ini] stopped
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (Jun 29, 2023):
可能启用了什么代理功能但是代理地址配置不正确,或者 server_addr 配置不正确。
@Canvas-Atomer commented on GitHub (Jun 29, 2023):
检查了一下确实是打错server_addr的地址了,但是更新了之后还是报错login to server failed: EOF,或者是login to server failed: session shutdown。防火墙里对应的端口都已经开放了。
@Canvas-Atomer commented on GitHub (Jun 29, 2023):
已解决,是服务器和本地的版本不一致导致的。