<?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: Can not connect to server Get Proxy Error 504. in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711300#M27162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2 class="" style="color: #323232; font-size: 1.2019rem; margin: 1.55rem 0px 0.775rem;"&gt;Solution or Workaround&lt;/H2&gt;&lt;P style="color: #595959; background-color: #ffffff; font-weight: 300; font-size: 0.9375rem; margin-bottom: 0.775rem;"&gt;There are several solutions to troubleshoot the error.&lt;/P&gt;&lt;UL style="color: #4c4c4c; background-color: #ffffff; font-size: 0.9375rem; margin-left: 0.775rem; margin-bottom: 0.775rem;"&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Use&amp;nbsp;valid credentials to access the server.&lt;STRONG&gt; DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Users must have permission to connect to the ArcGIS Server site to perform administrative and publishing functions. Refer to ArcGIS Help:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/restrict-access-to-arcgis-server.htm" style="color: #0079c1; border: none; text-decoration: none;" target="_blank"&gt;Restrict access to ArcGIS Server&lt;/A&gt;.&amp;nbsp;&lt;STRONG&gt; Do users only need this permission?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Try a different type of server connection, for example, either Administrative connections, Publisher connections or User connections to see if the behavior changes. For more information, refer to ArcGIS Help:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://server.arcgis.com/en/server/latest/install/windows/about-connecting-to-arcgis-server-in-arcgis-for-desktop.htm" style="color: #0079c1; border: none; text-decoration: none;" target="_blank"&gt;Connection types&lt;/A&gt;. &lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Test&amp;nbsp;the ArcGIS Server URL in a web browser to see if the REST or Admin page can be accessed. &lt;STRONG&gt;DONE and Works&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Test&amp;nbsp;the connection&amp;nbsp;the ArcGIS Server by connecting&amp;nbsp;via the IP address. &lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;If using the ArcGIS Web Adaptor for the server connection, and administrative connections are not enabled through the ArcGIS Web Adaptor, connect via port &amp;nbsp;6080 or 6443. &lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;&lt;SPAN style="color: #595959; font-size: 0.9375rem;"&gt;In some scenarios, users&amp;nbsp;may be using a Windows domain account. In this case try using a different user account, such as the primary site administrator (PSA)&amp;nbsp;account. For more information, refer to ArcGIS Help:&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-size: 0.9375rem; font-weight: 300;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/accounts-used-by-arcgis-server.htm" style="color: #0079c1; border: none; text-decoration: none;" target="_blank"&gt;Accounts used by ArcGIS Server&lt;/A&gt;&lt;SPAN style="color: #595959; font-size: 0.9375rem;"&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Admin accounts work non admin &lt;SPAN style="color: #595959;"&gt;accounts&lt;/SPAN&gt;&amp;nbsp;for user does not&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;In cases where the server is federated with Portal for ArcGIS, update the current server connection to use the a same&amp;nbsp;credentials as Portal for ArcGIS.&amp;nbsp;&lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 14:36:03 GMT</pubDate>
    <dc:creator>KennethBusby</dc:creator>
    <dc:date>2018-03-06T14:36:03Z</dc:date>
    <item>
      <title>Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711296#M27158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attempting to connect to new Arcgis Server using Add ArcGIS Server. I enter URL and user name and password and I get the Error: We were not able to connect to "Server" Error: Proxy server got bad address from remote server (verify server is running). (Status code 504).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running Acrmap 10.5.1 and server is the same. I have tested and it works on other desktops the only difference between this one and the others is it is still using Windows 7 and the others are using 10. We have taking it off the domain and put it back on, ran updates, etc.. still nothing seems to be working. has anyone seen this? I have read many similar issues that were due to miss matched versions like 10.0 on desktop and 10.4 on server but these match. I have run out of ideas and could use some more if anyone has any.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 15:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711296#M27158</guid>
      <dc:creator>KennethBusby</dc:creator>
      <dc:date>2018-03-02T15:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711297#M27159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I understand that establishing a new connection from ArcMap to ArcGIS Server is returning a 504 bad gateway error. One method to try is open a web browser from the same machine as ArcMap and navigate to ArcGIS Server manager with the same URL. You don't have to be an admin to bring up the URL, we just want to see if the machine can access this. If you are not able to access this, then there may be a proxy configured in the web browser that is blocking access. This workflow should confirm that.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 01:02:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711297#M27159</guid>
      <dc:creator>StevenRamirez</dc:creator>
      <dc:date>2018-03-03T01:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711298#M27160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes if I put the server URL in Chrome it goes to the rest location . I had thought there was an issue with Windows 7 but a test on another 7 machine worked. Not sure what settings are on this one machine to keep it from working. It is odd.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 15:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711298#M27160</guid>
      <dc:creator>KennethBusby</dc:creator>
      <dc:date>2018-03-03T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711299#M27161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking up this error internally revealed a technical support document that outlines possible issues relating to this issue.&amp;nbsp;&lt;A class="link-titled" href="https://support.esri.com/en/Technical-Article/000015981" title="https://support.esri.com/en/Technical-Article/000015981"&gt;Error: Proxy server got bad address from remote server (verify the server is running)&lt;/A&gt;&amp;nbsp; &amp;nbsp;Please let us know if none of the solutions in the article resolve your matter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 16:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711299#M27161</guid>
      <dc:creator>StevenRamirez</dc:creator>
      <dc:date>2018-03-05T16:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711300#M27162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2 class="" style="color: #323232; font-size: 1.2019rem; margin: 1.55rem 0px 0.775rem;"&gt;Solution or Workaround&lt;/H2&gt;&lt;P style="color: #595959; background-color: #ffffff; font-weight: 300; font-size: 0.9375rem; margin-bottom: 0.775rem;"&gt;There are several solutions to troubleshoot the error.&lt;/P&gt;&lt;UL style="color: #4c4c4c; background-color: #ffffff; font-size: 0.9375rem; margin-left: 0.775rem; margin-bottom: 0.775rem;"&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Use&amp;nbsp;valid credentials to access the server.&lt;STRONG&gt; DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Users must have permission to connect to the ArcGIS Server site to perform administrative and publishing functions. Refer to ArcGIS Help:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/restrict-access-to-arcgis-server.htm" style="color: #0079c1; border: none; text-decoration: none;" target="_blank"&gt;Restrict access to ArcGIS Server&lt;/A&gt;.&amp;nbsp;&lt;STRONG&gt; Do users only need this permission?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Try a different type of server connection, for example, either Administrative connections, Publisher connections or User connections to see if the behavior changes. For more information, refer to ArcGIS Help:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://server.arcgis.com/en/server/latest/install/windows/about-connecting-to-arcgis-server-in-arcgis-for-desktop.htm" style="color: #0079c1; border: none; text-decoration: none;" target="_blank"&gt;Connection types&lt;/A&gt;. &lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Test&amp;nbsp;the ArcGIS Server URL in a web browser to see if the REST or Admin page can be accessed. &lt;STRONG&gt;DONE and Works&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Test&amp;nbsp;the connection&amp;nbsp;the ArcGIS Server by connecting&amp;nbsp;via the IP address. &lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;If using the ArcGIS Web Adaptor for the server connection, and administrative connections are not enabled through the ArcGIS Web Adaptor, connect via port &amp;nbsp;6080 or 6443. &lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;&lt;SPAN style="color: #595959; font-size: 0.9375rem;"&gt;In some scenarios, users&amp;nbsp;may be using a Windows domain account. In this case try using a different user account, such as the primary site administrator (PSA)&amp;nbsp;account. For more information, refer to ArcGIS Help:&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-size: 0.9375rem; font-weight: 300;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/accounts-used-by-arcgis-server.htm" style="color: #0079c1; border: none; text-decoration: none;" target="_blank"&gt;Accounts used by ArcGIS Server&lt;/A&gt;&lt;SPAN style="color: #595959; font-size: 0.9375rem;"&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Admin accounts work non admin &lt;SPAN style="color: #595959;"&gt;accounts&lt;/SPAN&gt;&amp;nbsp;for user does not&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="color: #595959; font-weight: 300; font-size: 0.9375rem; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;In cases where the server is federated with Portal for ArcGIS, update the current server connection to use the a same&amp;nbsp;credentials as Portal for ArcGIS.&amp;nbsp;&lt;STRONG&gt;DONE&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 14:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711300#M27162</guid>
      <dc:creator>KennethBusby</dc:creator>
      <dc:date>2018-03-06T14:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711301#M27163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;If after attempting the workflows listed in the article have not resolved the issue. Then the next steps would be to open a support case for an analyst to diagnose further what the issue may be.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 16:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711301#M27163</guid>
      <dc:creator>StevenRamirez</dc:creator>
      <dc:date>2018-03-06T16:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711302#M27164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks I will open one. It is the strangest thing and only affected on one users machine. Even with Admin logged in on that machine the error persists and if the user logs in on another machine that works it works. There is some setting somewhere that is causing it but I can not find or think of anything that would be the cause.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be putting in a support ticket. thanks for your help so far.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will update when it has been resolved and the steps taken.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 16:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711302#M27164</guid>
      <dc:creator>KennethBusby</dc:creator>
      <dc:date>2018-03-06T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711303#M27165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering if you had any progress with this issue? We are experiencing exactly the same situation - a specific user on a specific machine not being able to connect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 00:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711303#M27165</guid>
      <dc:creator>PaulDelaney2</dc:creator>
      <dc:date>2018-07-06T00:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711304#M27166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still working it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 21:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711304#M27166</guid>
      <dc:creator>KennethBusby</dc:creator>
      <dc:date>2018-08-07T21:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711305#M27167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd delete and re-create the connection file to ArcGIS Server. That usually works for me when I see similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 20:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711305#M27167</guid>
      <dc:creator>RandallWilliams</dc:creator>
      <dc:date>2018-08-08T20:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711306#M27168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been experiencing the same issue at a few locations, and have gone through the same troubleshooting issues listed above with no success, however I've found a solution for my particular version of this problem which may be of assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;STRONG&gt;user&lt;/STRONG&gt; connect to the servers seems to work fine from ArcCatalog, but &lt;STRONG&gt;publisher&lt;/STRONG&gt; and &lt;STRONG&gt;admin&lt;/STRONG&gt; fail with this 504 error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, all instances where I have seen this, the portal instance is registered to use Windows AD users, so IWA and SSO via the WebAdaptor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What seems to be the problem is running the ArcMap/Catalog desktop application as a &lt;STRONG&gt;Windows AD User&lt;/STRONG&gt; that is not a member of the portal identity store. If you start up ArcMap as an admin user not registered in portal (in the instances I've tried) you will run into a 504 problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also seems that you cannot bypass the webadaptor and simply use the site administrator account when ArcMap/Catalog is running as a non-portal admin/publisher user, which is where it seems to be buggy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve it we found that it's possible to do a &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;run as&lt;/STRONG&gt;&lt;/SPAN&gt; of ArcMap/Catalog with an &lt;STRONG&gt;AD user&lt;/STRONG&gt; that is either &lt;STRONG&gt;publisher or admin&lt;/STRONG&gt; on the portal. After this the 504 error stopped occurring and both Portal users psa credentials and Portal AD credentials could be used to create an admin connection to AGS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopfully this helps!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 11:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711306#M27168</guid>
      <dc:creator>DeanMoiler</dc:creator>
      <dc:date>2018-08-30T11:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711307#M27169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if adding /admin to the url solves the issue (&lt;A href="https://domain/webadaptor/admin"&gt;https://fqdn/webadaptor/admin&lt;/A&gt;). Worked for us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 18:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711307#M27169</guid>
      <dc:creator>SebastianCabrera</dc:creator>
      <dc:date>2018-09-20T18:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711308#M27170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently experienced the same problem when trying to publish to our new servers.&amp;nbsp; To fix the problem I had to check my IE settings.&amp;nbsp; I had to add access IE Tools, Advanced Settings, and allow 'USE TLS 1.1 and USE TLS 1.2'.&amp;nbsp; Once I added the settings I was able to publish the service&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 17:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711308#M27170</guid>
      <dc:creator>Brendawheatley</dc:creator>
      <dc:date>2019-07-09T17:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711309#M27171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you ever able to resolve this issue?&amp;nbsp; I'm experiencing it now.&amp;nbsp; I went through the same checklist of suggestions that you did, and none were successful, either.&amp;nbsp; I'm getting this 504 error in both ArcMap and ArcGIS Pro, but my neighbor in the next cubicle can connect perfectly.&amp;nbsp; The only clue I get is in ArcMap. When it fails to connect, I get this error:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ArcMap 504 error" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/458261_ArcMap 504 error.jpg" /&gt;&lt;/P&gt;&lt;P&gt;I don't know where to begin searching for a solution to "Proxy server got bad address from remote server"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you had some luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711309#M27171</guid>
      <dc:creator>JustinJohnson2</dc:creator>
      <dc:date>2019-08-29T16:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711310#M27172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not and have changed jobs since.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 16:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711310#M27172</guid>
      <dc:creator>KennethBusby</dc:creator>
      <dc:date>2019-08-29T16:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711311#M27173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update.  I have managed to fix the issue, by changing my&lt;/P&gt;&lt;P&gt;account password on the site running the ArcGIS Server connection.  I don't&lt;/P&gt;&lt;P&gt;know if that's what did it, but it worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck at the new job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 18:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711311#M27173</guid>
      <dc:creator>JustinJohnson2</dc:creator>
      <dc:date>2019-08-29T18:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711312#M27174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had this same issue.&amp;nbsp; We have AD integration and our AGS site is federated with Portal on another machine. The fix for us was to start ArcGIS Administrator on the affected machine ArcGIS Machine Node -&amp;gt; Advanced... -&amp;gt; Manage Portal Connections... -&amp;gt; Add your Portal Machine URL/&amp;lt;webadaprtor name&amp;gt; here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:47:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711312#M27174</guid>
      <dc:creator>MikeSnook</dc:creator>
      <dc:date>2019-09-10T14:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711313#M27175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I had to do to!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 18:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711313#M27175</guid>
      <dc:creator>DarylHochhalter</dc:creator>
      <dc:date>2020-01-07T18:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711314#M27176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This helped resolve an issue on my end... Just had to make sure the web adaptor being referenced in the URL had administrative access.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 13:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711314#M27176</guid>
      <dc:creator>TomMerhige</dc:creator>
      <dc:date>2020-01-09T13:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can not connect to server Get Proxy Error 504.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711315#M27177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case you have Arcgis Server federated with Portal you have to use the credential of Portal user&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:54:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-not-connect-to-server-get-proxy-error-504/m-p/711315#M27177</guid>
      <dc:creator>Spatial_Fabio</dc:creator>
      <dc:date>2020-10-23T14:54:25Z</dc:date>
    </item>
  </channel>
</rss>

