mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #210] StatusCode [403] #142
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#142
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 @JulianZhao on GitHub (Jan 3, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/210
我在Releases里下载了最新的0.9.1版本,完全按照 中文文档 一开始的说明做了以下配置,启动报403,请问是哪里配置不对吗?
(其中x.x.x.x是我的公网服务器IP,frps启动后,telnet x.x.x.x 7000是ok的)
./frps -c ./frps_min.ini
./frpc -c ./frpc_min.ini
2017/01/03 13:15:31 [main.go:109] [I] Start frpc success
2017/01/03 13:15:31 [control.go:139] [E] ProxyName [ssh], connect to server [x.x.x.x:7000] error, ConnectServer using proxy error, StatusCode [403]
2017/01/03 13:15:31 [control.go:39] [E] ProxyName [ssh], connect to server failed!
2017/01/03 13:15:31 [main.go:112] [W] All proxy exit!
frps_min.ini
[common]
bind_port = 7000
[ssh]
listen_port = 6000
auth_token = 123
frpc_min.ini
[common]
server_addr = x.x.x.x
server_port = 7000
auth_token = 123
[ssh]
local_ip = 127.0.0.1
local_port = 22
@fatedier commented on GitHub (Jan 3, 2017):
检查下你是否设置了环境变量
HTTP_PROXY,可以把这个去掉再试。@JulianZhao commented on GitHub (Jan 3, 2017):
@fatedier 试了,
http_proxy="" ./frpc -c frpc_min.ini可以的,感谢。@xy2991 commented on GitHub (Nov 28, 2019):
我在frpc.ini 配置了http_proxy,也是报错403

