<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS Server on a machine with private IP behind a firewall in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566428#M12758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My colleagues insist that the simple configuration of a proxy page (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;SPAN&gt;) instead of a reverse proxy must work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem is that it still doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We've followed the instructions in the link above, adapting it to flexviewer, but perhaps we're still missing sthg.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I report the code lines "involved" in the process (as far as we could recognise):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;______________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;config.xml &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;livemaps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mapservice label="Myservice" type="dynamic" visible="true" alpha="0.75"&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.16.###.###/ArcGIS/rest/services/Operational/Myservice/MapServer" rel="nofollow" target="_blank"&gt;http://10.16.###.###/ArcGIS/rest/services/Operational/Myservice/MapServer&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/mapservice&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/livemaps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;proxytype&amp;gt;asp&amp;lt;/proxytype&amp;gt; &amp;lt;!-- apache|jsp||php --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Proxy.config&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ProxyConfig mustMatch="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverItems&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; &amp;lt;serverItem url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.16.###.###/ArcGIS/rest/services" rel="nofollow" target="_blank"&gt;http://10.16.###.###/ArcGIS/rest/services&lt;/A&gt;&lt;SPAN&gt;" matchAll="true" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/serverItems&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__________________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ConfigManager.as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; //get proxy url&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; private function getProxyURL(proxytype:String):String{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var rootURL:String = Application.application.url;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; rootURL = rootURL.substr(0,rootURL.length-10);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var ext:String;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; switch (proxytype) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "php":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "php";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "apache":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "jsp":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "jsp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "asp":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "ashx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "php";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; return rootURL + "/proxy." + ext; // + "?url=";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The file proxy.ashx is placed in the website's root dir.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we debug the webpage from an external client, we see that it tries to directly access the file crossodomain.xml on the internal machine, instead of doing that via the proxy. The file, in fact, exists; the error is on the private IP which is unknown to the external client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the feeling that some sort of instruction to tell the client that a proxy page exists, is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicola&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Oct 2010 09:19:22 GMT</pubDate>
    <dc:creator>NicolaLugeri</dc:creator>
    <dc:date>2010-10-19T09:19:22Z</dc:date>
    <item>
      <title>ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566422#M12752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been browsing threads and tech articles/blogs for similar issues, with no luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to display maps provided by a server placed in our internal network (with private IP 10.16....), through a sample flex viewer 1.3 served by the "external" web server (with public IP 193.206....).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The firewall allows these two servers to dialog via port 80. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume that simply placing a crossdomain.xml file in the root of the "private" server would not solve the problem, because the private IP would not be accessible to any machine in the outer world (in fact, I naively tried to do that, with no success).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was not able to understand if and how this situation could be solved using a proxy, or if the only way out is to place the server outside the private network. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicola&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 09:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566422#M12752</guid>
      <dc:creator>NicolaLugeri</dc:creator>
      <dc:date>2010-10-12T09:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566423#M12753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nicola,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You need to ensure that you are not interchanging machine names and IP addresses any where in you project. If you are using IPs then even in your config.xml the url for the map service you need to use the IP. If you are interested in security than you should configure your servers to use reverse prox, as detailed in this link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=32634"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=32634&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 12:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566423#M12753</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-10-12T12:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566424#M12754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot, Robert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the Howto you pointed me to seems to address exactly my issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I feel kind of dumb I could not find it myself.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to set up this configuration, also taking care of the other tip on IP vs names, and then be back to this thread with a -hopefully positive- feedback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicola&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 13:53:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566424#M12754</guid>
      <dc:creator>NicolaLugeri</dc:creator>
      <dc:date>2010-10-12T13:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566425#M12755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hhhmmm...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the server we wanted to use runs win2003 and II6. It looks there's no way to set up a reverse proxy on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A colleague told me (I hope I'm reporting this correctly) that they're using a proxy configuration in flex viewer 1.3 to handle services on other servers (although, I guess, still within the DMZ). We've tried very trivially to use their configuration, adding in their proxy.config the name of our internal server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, with no succes....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any suggestion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicola&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 12:11:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566425#M12755</guid>
      <dc:creator>NicolaLugeri</dc:creator>
      <dc:date>2010-10-14T12:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566426#M12756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nicola,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The best way to get this working for you is to get a low end server or even unused desktop and put it in the DMZ and install only Apache web server with reverse proxy on it. The firewall will allow only that machine to communicate to the internal IIS machine across an non standard port (i.e. not port 80 as all hackers know to attack that port).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 12:31:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566426#M12756</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-10-14T12:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566427#M12757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I'll check this with our IT/network colleagues&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 13:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566427#M12757</guid>
      <dc:creator>NicolaLugeri</dc:creator>
      <dc:date>2010-10-14T13:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566428#M12758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My colleagues insist that the simple configuration of a proxy page (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;SPAN&gt;) instead of a reverse proxy must work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem is that it still doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We've followed the instructions in the link above, adapting it to flexviewer, but perhaps we're still missing sthg.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I report the code lines "involved" in the process (as far as we could recognise):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;______________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;config.xml &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;livemaps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mapservice label="Myservice" type="dynamic" visible="true" alpha="0.75"&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.16.###.###/ArcGIS/rest/services/Operational/Myservice/MapServer" rel="nofollow" target="_blank"&gt;http://10.16.###.###/ArcGIS/rest/services/Operational/Myservice/MapServer&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/mapservice&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/livemaps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;proxytype&amp;gt;asp&amp;lt;/proxytype&amp;gt; &amp;lt;!-- apache|jsp||php --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;_________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Proxy.config&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ProxyConfig mustMatch="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;serverItems&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; &amp;lt;serverItem url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.16.###.###/ArcGIS/rest/services" rel="nofollow" target="_blank"&gt;http://10.16.###.###/ArcGIS/rest/services&lt;/A&gt;&lt;SPAN&gt;" matchAll="true" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/serverItems&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__________________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ConfigManager.as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; //get proxy url&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; private function getProxyURL(proxytype:String):String{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var rootURL:String = Application.application.url;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; rootURL = rootURL.substr(0,rootURL.length-10);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var ext:String;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; switch (proxytype) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "php":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "php";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "apache":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "jsp":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "jsp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "asp":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "ashx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext = "php";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; return rootURL + "/proxy." + ext; // + "?url=";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;__________________________________&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The file proxy.ashx is placed in the website's root dir.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we debug the webpage from an external client, we see that it tries to directly access the file crossodomain.xml on the internal machine, instead of doing that via the proxy. The file, in fact, exists; the error is on the private IP which is unknown to the external client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the feeling that some sort of instruction to tell the client that a proxy page exists, is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicola&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 09:19:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566428#M12758</guid>
      <dc:creator>NicolaLugeri</dc:creator>
      <dc:date>2010-10-19T09:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server on a machine with private IP behind a firewall</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566429#M12759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved with the "proxy page" configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, we were having problems because the sample viewer 1.3 that we've been using was somehow not compatible with the deployed proxy files (proxy.config and proxy.ashx) available from &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRIItalia provided us with a fixed version of the viewer, so that the services from the "private" server are now accessible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your suggestions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicola&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 14:35:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgis-server-on-a-machine-with-private-ip-behind/m-p/566429#M12759</guid>
      <dc:creator>NicolaLugeri</dc:creator>
      <dc:date>2010-10-19T14:35:10Z</dc:date>
    </item>
  </channel>
</rss>

