================ 代理服务器求解 ====================
见这里
http://support.microsoft.com/kb/135982
我按这里的设置,发现我写的代理服务器程序始终无法接收到数据。。。
这么多年了,我都是一直按上面的描述那样做的。
结果今天才发现,如果是用ADSL或其它拨号上网的方式时,是不能按那样设置代理服务器的,吐血啊。。。
请教一个问题:
我在IE中设置代理的IP及端口后,请问IE向代理发出的请求是不是标准的http请求格式,像下面这样:
GET http://www.fiddler2.com/fiddler2/updatecheck.asp?isBeta=True HTTP/1.1
User-Agent: Fiddler/4.4.2.4 beta (.NET 4.0.30319.18034; WinNT 6.1.7601 SP1; zh-CN; 6xAMD64)
Pragma: no-cache
Accept-Language: zh-CN
Referer: http://fiddler2.com/client/4.4.2.4
Host: www.fiddler2.com
Connection: Close
第二个问题是:
我看很多人的代理服务器是这样的开发模式:
IE浏览器-运行在本机的代理服务器软件-远程的代理服务器软件-目标服务器
我一直不能理解,为什么需要本机的代理服务器软件?
在IE中直接设置远程的代理服务器软件的IP及Port不就可以了吗??
很不解,求解答。谢谢。
[解决办法]
这种设置只能在局域网环境下有效.
有ADSL拨号环境下有效的话,要修改注册表中一串二进行数据, 由于不会2进制操作.所以没弄过.
[解决办法]
HTTP协议里面是这样描述的:
A proxy is a forwarding agent, receiving requests for a URI in its absolute form,
rewriting all or part of the message, and forwarding the reformatted
request toward the server identified by the URI.
A gateway is a
receiving agent, acting as a layer above some other server(s) and, if
necessary, translating the requests to the underlying server's
protocol.
A tunnel acts as a relay point between two connections
without changing the messages; tunnels are used when the
communication needs to pass through an intermediary (such as a
firewall) even when the intermediary cannot understand the contents
of the messages.
[解决办法]
怎么设置,让ADSL下也可用?教教我