Support Home | Live Chat | Q&A | Docs | APIs | Blog
x
login Signup

Does AppFirst work with a proxy on Windows?

avatar image By appfirstFAQ 31 asked Apr 03, 2013 at 07:28 PM
more ▼
(comments are locked)
10|600 characters needed characters left

3 answers: sort voted first

Yes. Hostnames and port numbers you need access to are:

A proxy stands between the outside network and local host. Example: if we use a proxy, we are asking the proxy to get the certain document on behalf of us. So when you don't have an outside connection but you have a machine that has an outside connection, you can create a proxy setup to connect via proxy server from the local host.

You can turn on proxy connection via proxycfg.exe/netsh.exe which Microsoft provides for WinHttp on Windows.

This tool is available at C:\\Windows\System32 and thus, if you use proxy to connect to the Internet on Windows, it's possible to use this tool to make all the apps work. Please refer to http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx for more info.

The only issue with this approach might be that it's enabled on a machine and not just for specific applications. In order to achieve application level, the application needs to know how to talk to proxy.

avatar image By AppFirst_Support ♦♦ 408 answered Apr 03, 2013 at 07:33 PM
more ▼
(comments are locked)
10|600 characters needed characters left

Recently deploying the AppFirst Collector under Windows 2008 R2, I've found the following:

ProxyCfg.exe is deprecated per the msdn article linked. Windows Vista and 2008 use the netsh command (the article does link this)

Prior to installing the AppFirst collector, you need to configure your system to utilize the proxy. The command was:

 netsh winhttp set proxy proxy-server="http=proxy:8080;https=proxy:8080"

Once entered the proxy configuration will remain a rule even after rebooting the system.

After configuring the proxy, you can install the collector. If you receive an error, it is likely the proxy information you provided is incorrect.

avatar image By mikef 35 answered Aug 16, 2013 at 09:23 PM
more ▼
(comments are locked)
10|600 characters needed characters left

An issue that was encountered while using Windows 2003 was with proxycfg. When following the MSDN article example 3:

 proxycfg -p "http=http_proxy https=https_proxy" ";*.microsoft.com"

the proxy would not function properly. Using the proxycfg as 2 separate commands solved this issue:

 proxycfg -p "http=http://proxy_server:port"
 proxycfg -p "https=https://proxy_server:port"
 
avatar image By mikef 35 answered Apr 18, 2014 at 02:09 PM
more ▼
(comments are locked)
10|600 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

Topics:

x9
x3

asked: Apr 03, 2013 at 07:28 PM

Seen: 5323 times

Last Updated: Jun 23, 2015 at 04:23 AM

Related Questions