I can't access services through my Centos 6.9 Web Adaptor. Although the Web Adaptor configuration worked, trying to reach the REST directory fails with "Could not access any server machines. Please contact your system administrator." Firewall rules are the same for the Centos server as they are for a Windows server with a working Web Adaptor on it.
I can hit the tomcat page, but not the rest services directory. Running 10.5.1. The ArcGIS server is Windows 2012 R2.
Hi Scott,
a. Which version Tomcat are you using?
b. I assume you registered the web adaptor with the GIS Server using HTTPS (port 6443). Is that correct?
c. I'm surprised you were able to register the web adaptor with the GIS Server. Non-default ports aren't supported:
http://server.arcgis.com/en/portal/latest/administer/linux/about-the-arcgis-web-adaptor.htm
"You can only use the Web Adaptor with port 80 or 443. Using different ports is not supported."
Hi Randall,
I’m running tomcat 8.5.16.
I don’t recall the linux web adaptor config giving an option for 80 or 443 like the windows one does. Tomcat runs on 8080 by default. Do you think I need to reconfigure the tomcat port?
Cool, 8.5.6 is supported.
You're correct. By default, Tomcat runs on port 8080 and 8443 (assuming HTTPS is enabled). On Linux, there's a restriction on ports below 1024 - they're considered privileged. This restriction is addressed by:
a. Running Tomcat as root (*not* a preferred work around) or
b. Using IP Tables or
c. Using AuthBind
https://blog.webhosting.net/how-to-get-tomcat-running-on-centos-7-2-using-privileged-ports-1024/
https://stackoverflow.com/questions/10450045/why-does-tomcat-work-with-port-8080-but-not-80
Thanks! I’ll give it a whirl.
Did anyone ever get this to work? I am running into the same issue, albeit in ubuntu 16.04 & tomcat 8.5.35 on port 8080
Which ArcGIS Enterprise version are you working with? You'll also want to get a cert. I'd bind to 443 or 8443. Depending on the version you're working with, 8080/8443 may not be supported for the web adaptor.