mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #13] 为什么我使用简单的http代理,但是告诉我connect连接失败? #11
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#11
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 @wuzhangduxuan on GitHub (Nov 21, 2017).
Original GitHub issue: https://github.com/snail007/goproxy/issues/13
@snail007 commented on GitHub (Nov 21, 2017):
提供详细步骤和日志输出才能排除原因。
@ghost commented on GitHub (Nov 23, 2017):
@snail007
# ./proxy http -t tcp -p "172.21.0.9:33080" -T tcp -P "192.168.228.129:80"
###该命令时在172.21.0.9机器执行的。。。。。。
2017/11/23 15:02:49 use tcp parent 192.168.228.129:80
2017/11/23 15:02:49 conn pool closed
2017/11/23 15:02:49 blocked file loaded , domains : 4833
2017/11/23 15:02:49 direct file loaded , domains : 456
2017/11/23 15:02:49 tcp http(s) proxy on 172.21.0.9:33080
//需求:让172.21.0.9(外网:123.206.64.116)机器代理192.168.228.129:80
在web访问123.206.64.116:33080报错:
2017/11/23 15:05:32 GET:/
2017/11/23 15:05:32 use proxy : true, 123.206.64.116:33080
2017/11/23 15:05:34 connect to 192.168.228.129:80 , err:dial tcp 192.168.228.129:80: i/o timeout,retrying...
2017/11/23 15:05:38 connect to 192.168.228.129:80 , err:dial tcp 192.168.228.129:80: i/o timeout,retrying...
是我哪里配置的不对么?
@snail007 commented on GitHub (Nov 23, 2017):
明显你用错了,你这是二级代理,你的一级代理配置了吗
@snail007 commented on GitHub (Nov 23, 2017):
你想要的是内网穿透