[GH-ISSUE #18] server adder error #3

Closed
opened 2026-05-05 11:29:40 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @fuzihaofzh on GitHub (Apr 7, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/18

I set server adderess in frpc.ini, and run frpc -c frpc.ini
the log show:
2016/04/07 09:00:48 [main.go:101] [I] Start frpc success
2016/04/07 09:00:48 [control.go:130] [E] ProxyName [ssh], connect to server [0.0.0.0:7000] error, dial tcp 0.0.0.0:7000: connection refused
2016/04/07 09:00:48 [control.go:39] [E] ProxyName [ssh], connect to server failed!
2016/04/07 09:00:48 [main.go:104] [W] All proxy exit!

It seems it also use 0.0.0.0 as server. Please help me to tackle this problem. Thanks

Originally created by @fuzihaofzh on GitHub (Apr 7, 2016). Original GitHub issue: https://github.com/fatedier/frp/issues/18 I set server adderess in frpc.ini, and run frpc -c frpc.ini the log show: 2016/04/07 09:00:48 [main.go:101] [I] Start frpc success 2016/04/07 09:00:48 [control.go:130] [E] ProxyName [ssh], connect to server [0.0.0.0:7000] error, dial tcp 0.0.0.0:7000: connection refused 2016/04/07 09:00:48 [control.go:39] [E] ProxyName [ssh], connect to server failed! 2016/04/07 09:00:48 [main.go:104] [W] All proxy exit! It seems it also use 0.0.0.0 as server. Please help me to tackle this problem. Thanks
gitea-mirror 2026-05-05 11:29:40 -06:00
Author
Owner

@fatedier commented on GitHub (Apr 7, 2016):

Can you show me your [common] section in frpc.ini?

<!-- gh-comment-id:206658728 --> @fatedier commented on GitHub (Apr 7, 2016): Can you show me your [common] section in frpc.ini?
Author
Owner

@fuzihaofzh commented on GitHub (Apr 7, 2016):

@fatedier

# [common] is integral section
[common]
SERVER_ADDR = my.server.ip.adder
server_port = 7000
# console or real logFile path like ./frpc.log
log_file = ./frpc.log
# debug, info, warn, error
log_level = debug
# for authentication
auth_token = mypassword

# test1 is the proxy name same as server's configuration
[ssh]
local_ip = 127.0.0.1
local_port = 22
# true or false, if true, messages between frps and frpc will be encrypted, default is false
use_encryption = true
<!-- gh-comment-id:206659107 --> @fuzihaofzh commented on GitHub (Apr 7, 2016): @fatedier ``` # [common] is integral section [common] SERVER_ADDR = my.server.ip.adder server_port = 7000 # console or real logFile path like ./frpc.log log_file = ./frpc.log # debug, info, warn, error log_level = debug # for authentication auth_token = mypassword # test1 is the proxy name same as server's configuration [ssh] local_ip = 127.0.0.1 local_port = 22 # true or false, if true, messages between frps and frpc will be encrypted, default is false use_encryption = true ```
Author
Owner

@fatedier commented on GitHub (Apr 7, 2016):

server_addr is case-sensitive, you can try to use lower-case letters.

<!-- gh-comment-id:206660319 --> @fatedier commented on GitHub (Apr 7, 2016): server_addr is case-sensitive, you can try to use lower-case letters.
Author
Owner

@fatedier commented on GitHub (Apr 7, 2016):

I will let it be compatible with uppercase letters soon.

<!-- gh-comment-id:206661834 --> @fatedier commented on GitHub (Apr 7, 2016): I will let it be compatible with uppercase letters soon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3
No description provided.