本人安裝Arcgis Server 10.2以後發佈了一個地圖服務,該服務默認使用的端口號是6080,本人使用的是教育網,使用教育網均能正常使用該服務,可是使用電信或者移動網絡均不能正常訪問該網站。html
計算機環境:web
系統:Windows server 2003 r2;json
web服務:IIS7.5;tomcat
arcgis server 10.2;網絡
IIS7.5發佈了網站服務,所使用的端口號碼是80端口;app
Arcgis sever 10.2安裝以後,自帶tomcat web服務程序,在安裝路徑C:\Program Files\ArcGIS\Server\framework\runtime\tomcat裏面。若要修改Arcgis sever 10.2服務端口號碼,須要修改兩個文件中的端口設置:網站
1.C:\Program Files\ArcGIS\Server\framework\runtime\tomcat\conf 路徑下的server.xml文件中的端口,使用寫字板打開該文件:orm
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 6080
-->
<Connector connectionTimeout="20000" maxHttpHeaderSize="65535" maxPostSize="10485760" port="6080" protocol="HTTP/1.1" redirectPort="6443" server=" "/>
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="6080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="6443" server=" "/>
-->
<!-- Define a SSL HTTP/1.1 Connector on port 6443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
將以上6080端口號改成本身須要設置的端口號。server
2.修改D:\***\arcgisserver\config-store\machines路徑下的GENUINE.MICROSOFT.COM.json文件,使用寫字板打開:xml
{"machineName":"GENUINE.MICROSOFT.COM","platform":"Windows Server 2008 R2-amd64-6.1","ports":{"JMXPort":4000,"OpenEJBPort":4001,"NamingPort":4002,"DerbyPort":4003,"HTTP":6080},
"ServerStartTime":1457418274918,"webServerMaxHeapSize":-1,"appServerMaxHeapSize":256,
"socMaxHeapSize":64,"webServerSSLEnabled":false,"webServerCertificateAlias":"SelfSignedCertificate",
"adminURL":"http://GENUINE.MICROSOFT.COM:6080/arcgis/admin","configuredState":"STARTED","synchronize":false}
將以上6080端口號改成本身所須要的端口號,修改兩處。