码迷,mamicode.com
首页 > 其他好文 > 详细

Arcgis Server 10.2默认服务端口号修改方法

时间:2018-03-04 18:04:30      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:head   映射   www.   ejb   direct   2008 r2   web   orm   pps   

本人安装Arcgis Server 10.2之后发布了一个地图服务,该服务默认使用的端口号是6080,但是应客户需要,对外开放映射的端口是84,就修改默认端口号。

计算机环境:

   系统:Windows server 2008 r2;

   web服务:IIS7.5;

   arcgis server 10.2;

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文件中的端口,使用写字板打开该文件:

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端口号改为自己需要设置的端口号。

2.修改D:\***\arcgisserver\config-store\machines路径下的XXXX.json(XXXX是计算机名,该路径是发布服务的根目录)文件,使用写字板打开:

{"machineName":"XXXX","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端口号改为自己所需要的端口号,修改两处。

 

转载于:https://www.cnblogs.com/soderay/p/5266562.html,对部分内容做了修改

Arcgis Server 10.2默认服务端口号修改方法

标签:head   映射   www.   ejb   direct   2008 r2   web   orm   pps   

原文地址:https://www.cnblogs.com/zhurong/p/8505231.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!