首页 技术 正文
技术 2022年11月17日
0 收藏 521 点赞 4,678 浏览 1693 个字

本人安装Arcgis Server 10.2之后发布了一个地图服务,该服务默认使用的端口号是6080,本人使用的是教育网,使用教育网均能正常使用该服务,但是使用电信或者移动网络均不能正常访问该网站。

计算机环境:

系统:Windows server 2003 r2;

web服务:IIS7.5;

arcgis server 10.2;

IIS7.5发布了网站服务,所使用的端口号码是80端口;

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路径下的GENUINE.MICROSOFT.COM.json文件,使用写字板打开:

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

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,085
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,560
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,409
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,182
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,819
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,902