mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2439] client seems not to connect right server addr:port #1940
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#1940
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 @grizzlybears on GitHub (Jun 7, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2439
[REQUIRED] hat version of frp are you using
Version:
[REQUIRED] What operating system and processor architecture are you using
OS: fedora32
CPU architecture: x86_64
[REQUIRED] description of errors
The client seems not to connect the server noted in 'config file', but connect to '127.0.0.1:8889', thus got connection refused.
confile
xxxxx@fedora frp_0.37.0_linux_amd64 $ cat frpc.ini
[common]
server_addr = XXXXXXX
server_port = 17000
token = XXXXX
[secret_ssh_visitor]
type = stcp
; stcp 的访问者
role = visitor
server_name = SZR_SERVER
sk = XXXXXX
; 绑定本地端口用于访问 ssh 服务
bind_addr = 127.0.0.1
bind_port = 6000
log file
./frpc -c frpc.ini
2021/06/07 11:19:12 [W] [service.go:104] login to server failed: dial tcp 127.0.0.1:8889: connect: connection refused
dial tcp 127.0.0.1:8889: connect: connection refused
Steps to reproduce the issue
Supplementary information
Can you guess what caused this issue
Where comes the ‘127.0.0.1:8889’ could be the clue, I guess.
@grizzlybears commented on GitHub (Jun 7, 2021):
Forgive me,
this not issue of frpc, someone had set 'xxx_proxy' variable on my env.
Please close this issue. :)