You can use commands in the netsh winhttp context to configure proxy and tracing settings for Windows HTTP. The Netsh commands for winhttp can be run manually at the netsh prompt or in scripts and batch files.
To run these commands from the command prompt, you must either enter the netsh winhttp context or prepend the context to the command. For example, if you are at the command prompt but have not typed netsh and then winhttp to enter the netsh winhttp context, you must type:
netsh winhttp command
Where command is the command that you want to run, including all of the required parameters for the command.
# set proxy
# set tracing
# show proxy
# show tracing
set proxy
Configures the WinHTTP proxy setting.
Syntax
set proxy [proxy-server=] ProxyServerName [bypass-list=] <HostsList>
Parameters
Proxy-Server
Required. Specifies the proxy server to use for http, secure http (https), or both http and https protocols.
Bypass-list
Optional. Specifies a list of Web sites that should be visited without utilizing the proxy server. Use "<local>" to bypass all short name hosts.
set tracing
Configures the WinHTTP tracing parameters.
Syntax
set tracing [output=] file | debugger | both [trace-file-prefix=] FilePrefix [level=] default | verbose [format=] ansi | hex [max-trace-file-size=] FileSize [state=] enabled |disabled
show proxy
Displays the current WinHTTP proxy setting.
To run these commands from the command prompt, you must either enter the netsh winhttp context or prepend the context to the command. For example, if you are at the command prompt but have not typed netsh and then winhttp to enter the netsh winhttp context, you must type:
netsh winhttp command
Where command is the command that you want to run, including all of the required parameters for the command.
# set proxy
# set tracing
# show proxy
# show tracing
set proxy
Configures the WinHTTP proxy setting.
Syntax
set proxy [proxy-server=] ProxyServerName [bypass-list=] <HostsList>
Parameters
Proxy-Server
Required. Specifies the proxy server to use for http, secure http (https), or both http and https protocols.
Bypass-list
Optional. Specifies a list of Web sites that should be visited without utilizing the proxy server. Use "<local>" to bypass all short name hosts.
set tracing
Configures the WinHTTP tracing parameters.
Syntax
set tracing [output=] file | debugger | both [trace-file-prefix=] FilePrefix [level=] default | verbose [format=] ansi | hex [max-trace-file-size=] FileSize [state=] enabled |disabled
show proxy
Displays the current WinHTTP proxy setting.
4 Comments
what about authentication?
ReplyDeleteThe information on this web log is extremely helpful and extremely attention-grabbing.
ReplyDeleteFileCrop UK proxy
This is so essential post. This information helps them who are new bloggers. Thanks for helpful post for us.
ReplyDeleteMp3lemon UK proxy
Your nice work is very attractive and impressive. Holborn Assets
ReplyDelete