起步软件技术论坛-X3

 找回密码
 立即注册
搜索
楼主: beidou

【结】外网访问问题

[复制链接]
 楼主| 发表于 2008-5-11 09:10:26 | 显示全部楼层
原来内网访问配置的参数是:http://jmis。ghhd。net     现在,又要改为ip加端口号的形式才能连接X3系统。原来用http://jmis。ghhd能连接,为了测试外网,将XXX\TOMCAT\webapps\x3\Business.jsp  文件照着改了,居然内外不能用http://jmis。ghhd。net形式连接访问了。
回复 支持 反对

使用道具 举报

发表于 2008-5-12 08:54:37 | 显示全部楼层
楼主按照8楼的方式修改完成以后
config.justep.xml文件中同时使用IP和域名2种方式看一下效果。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 09:54:55 | 显示全部楼层
请问有这方面的文件参考一下吗
回复 支持 反对

使用道具 举报

发表于 2008-5-12 10:04:06 | 显示全部楼层
由于这个地方就是配置多个IP,没有什么资料,楼主把12喽方法配置以后,详细的内外网错误贴出来看一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 10:07:21 | 显示全部楼层
现在内网访问没有问题,是外网访问又问题,问题的错误就是楼主9图所示,
回复 支持 反对

使用道具 举报

发表于 2008-5-12 10:09:32 | 显示全部楼层
那你把config.justep.xml文件发上来看一下吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 10:26:40 | 显示全部楼层
config.justep.xml文件

<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
  <jndiprefix>java:comp/env/</jndiprefix>
  <database password="Ghhd_mis" driverClassName="net.sourceforge.jtds.jdbc.Driver" databasename="ghhz_x3_sys" servername="10.1.169.19" username="sa" port="1433" name="ghhz_x3_sys"></database>
  <database password="Ghhd_mis" driverClassName="net.sourceforge.jtds.jdbc.Driver" databasename="ghhz_jjmis" servername="10.1.169.19" username="sa" port="1433" name="ghhz_jjmis"></database>
  <database password="Ghhd_mis" driverClassName="net.sourceforge.jtds.jdbc.Driver" databasename="ghhz_jjmis_p3" servername="10.1.169.19" username="sa" port="1433" name="ghhz_jjmis_p3"></database>
  <database password="Ghhd_mis" driverClassName="net.sourceforge.jtds.jdbc.Driver" databasename="ghhz_jjmis_zg" servername="10.1.169.19" username="sa" port="1433" name="ghhz_jjmis_zg"></database>
  <database password="Ghhd_mis" driverClassName="net.sourceforge.jtds.jdbc.Driver" databasename="ghhz_x3_doc" servername="10.1.169.19" username="sa" port="1433" name="ghhz_x3_doc"></database>
  <database password="Ghhd_mis" driverClassName="net.sourceforge.jtds.jdbc.Driver" databasename="ghhz_jjmis_affix" servername="10.1.169.19" username="sa" port="1433" name="ghhz_jjmis_affix"></database>
  <connection bizurl="biz:\operation\p3db.database" database="ghhz_jjmis_p3"></connection>
  <connection bizurl="biz:\operation\operationdb.database" database="ghhz_jjmis"></connection>
  <connection bizurl="biz:\system\system.database" database="ghhz_x3_sys"></connection>
  <connection bizurl="biz:\collaboration\collaboration.database" database="ghhz_x3_sys"></connection>
  <connection bizurl="biz:\system\im.database" database="ghhz_x3_sys"></connection>
  <connection bizurl="biz:\system\doc.database" database="ghhz_x3_doc"></connection>
  <connection bizurl="biz:\operation\jmisaffixdb.database" database="ghhz_jjmis_affix"></connection>
  <connection bizurl="biz:\operation\zg.database" database="ghhz_jjmis_zg"></connection>
  <ocx name="X3X.ocx" codebase="X3X.CAB#version=3,0,6,2021" classid="clsid:317C9AA7-315B-4D4E-B9CE-2F0A08A7749E"></ocx>
  <multiaccount enabled="true" defaultaccount="GHSD"></multiaccount>
  <dataencrypt enabled="false"></dataencrypt>
  <server name="docserver">
    <url>http://10.1.169.19:80/TransFile/</url>
    <url>http://jmis.ghhd.net/TransFile/</url>
  </server>
  <server name="imserver">
    <url>10.1.169.19</url>
    <url>jmis.ghhd.net</url>
  </server>
  <server>
    <url>http://10.1.169.19:80/x3/</url>
    <url>http://jmis.ghhd.net/</url>
  </server>
  <hessian mustcompress="false" mustencrypt="false" mustextend="false" compress="false" encrypt="false"></hessian>
  <clientconfig>
    <defaultfuncs enabled="false" />
    <uitheme default="Biz:\System\CompactStyle" allowuser="false"></uitheme>
    <messenger>
      <roommembernum>200</roommembernum>
      <maxfilesize>1024000000</maxfilesize>
    </messenger>
    <runbusiness>http://10.1.169.19:80/x3/</runbusiness>
    <runbusiness>http://jmis.ghhd.net/</runbusiness>
    <cache enabled="true" fsstream="true" org="true"></cache>
    <addomain enabled="false">
      <domain name="justep" account="justep.com" pdcip="10.1.169.19"></domain>
    </addomain>
    <clientversion versionkey="A48434464CC07F1F394FADF7027E907E" versionhash="ABE4DC0155BA4D3B15E6C3E7F3D39B1D">NewVersion</clientversion>
  </clientconfig>
  <serverInfo>
    <directory>D:\Program Files\Justep\X3 Server\TOMCAT</directory>
    <type>Tomcat</type>
  </serverInfo>
</Configuration>
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-12 10:31:27 | 显示全部楼层
<server name="docserver">
    <url>http://10.1.169.19:80/TransFile/</url>
    <url>http://jmis.ghhd.net/TransFile/</url>
  </server>
  <server name="imserver">
    <url>10.1.169.19</url>
    <url>jmis.ghhd.net</url>
  </server>
  <server>
    <url>http://10.1.169.19:80/x3/</url>
    <url>http://jmis.ghhd.net/</url>
  </server>
  <hessian mustcompress="false" mustencrypt="false" mustextend="false" compress="false" encrypt="false"></hessian>
  <clientconfig>
    <defaultfuncs enabled="false" />
    <uitheme default="Biz:\System\CompactStyle" allowuser="false"></uitheme>
    <messenger>
      <roommembernum>200</roommembernum>
      <maxfilesize>1024000000</maxfilesize>
    </messenger>
    <runbusiness>http://10.1.169.19:80/x3/</runbusiness>
    <runbusiness>http://jmis.ghhd.net/</runbusiness>
    <cache enabled="true" fsstream="true" org="true"></cache>

其中ip地址的形式内网是可以的,内网访问没问题,外网访问就提示楼主9图错误,我现在改为按你们说的改为上面形式,就是加上了域名和IP的形式,现在内网访问还是没问题,外网访问时还是提示楼主9图错误
回复 支持 反对

使用道具 举报

发表于 2008-5-12 11:12:07 | 显示全部楼层
你现在给的域名,我在外网能够访问,如下图,请楼主检查一下你外网访问的机器网路情况吧。

beidou.png

60.79 KB, 下载次数: 155

回复 支持 反对

使用道具 举报

发表于 2008-5-12 11:36:01 | 显示全部楼层
??
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-12 20:18 , Processed in 0.043800 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表