现在服务器和终端之间加了一张隔断卡,但1521端口开放,oci驱动方式的连接已经不可以了,还可以通过什么方式联啊??各位大大救命啊

解决方案 »

  1.   

    在终端安装Oracle客户端程序。
      

  2.   

    Oracle客户端程序也是基于OCI的,ADO行吗,听说一种THIN方式,具体不清楚怎么回事,有人清楚吗?ODAC?
      

  3.   

    1521端口是oracle的监听端口,这是我从网上找的oracle端口配置
    尝试ODBC呢?
    Oracle HTTP Server listen port / Oracle HTTP Server port 80 Oracle Application Server Edit httpd.conf and restart OHS 
    Oracle Internet Directory(non-SSL) 389 Oracle Application Server  
    Oracle HTTP Server SSL port 443 Oracle Application Server Edit httpd.conf and restart OHS 
    Oracle Internet Directory(SSL) 636 Oracle Application Server  
    Oracle Net Listener / Enterprise Manager Repository port 1521 Oracle Application Server / Oracle Database Edit listener.ora and restart listener 
    Oracle Net Listener 1526 Oracle Database Edit listener.ora and restart listener 
    Oracle Names 1575 Oracle Database Edit names.ora and restart names server 
    Oracle Connection Manager (CMAN) 1630 Oracle Connection Manager Edit cman.ora and restart Connection Manager 
    Oracle JDBC for Rdb Thin Server 1701 Oracle Rdb  
    Oracle Intelligent Agent 1748 Oracle Application Server snmp_rw.ora 
    Oracle Intelligent Agent 1754 Oracle Application Server snmp_rw.ora 
    Oracle Intelligent Agent 1808 Oracle Application Server snmp_rw.ora 
    Oracle Intelligent Agent 1809 Oracle Application Server snmp_rw.ora 
    Enterprise Manager Servlet port SSL 1810 Oracle Enterprise Manager  
    Oracle Connection Manager Admin (CMAN) 1830 Oracle Connection Manager (CMAN) Edit cman.ora and restart Connection Manager 
    Enterprise ManagerAgent port 1831 Oracle Enterprise Manager  
    Enterprise Manager RMI port 1850 Oracle Enterprise Manager  
    Oracle XMLDB FTP Port 2100 Oracle Database change dbms_xdb.cfg_update 
    Oracle GIOP IIOP 2481 Oracle Database Edit listener.ora/init.ora and restart listener/database 
    Oracle GIOP IIOP for SSL 2482 Oracle Database Edit listener.ora/init.ora and restart listener/database 
    Oracle OC4J RMI 3201 Oracle Application Server 
     
    Oracle OC4J AJP 3301 Oracle Application Server 
     
    Enterprise Manager Reporting port 3339 Oracle Application Server Edit oem_webstage/oem.conf and restart OHS 
    Oracle OC4J IIOP 3401 Oracle Application Server 
     
    Oracle OC4J IIOPS1 3501 Oracle Application Server 
     
    Oracle OC4J IIOPS2 3601 Oracle Application Server 
     
    Oracle OC4J JMS 3701 Oracle Application Server 
     
    Oracle9iAS Web Cache Admin port 4000 Oracle Application Server Webcache Admin GUI or webcache.xml 
    Oracle9iAS Web Cache Invalidation port 4001 Oracle Application Server Webcache Admin GUI or webcache.xml 
    Oracle9iAS Web Cache Statistics port 4002 Oracle Application Server Webcache Admin GUI or webcache.xml 
    Oracle Internet Directory(SSL) 4031 Oracle Application Server  
    Oracle Internet Directory(non-SSL) 4032 Oracle Application Server  
    OracleAS Certificate Authority (OCA) - Server Authentication 4400 Oracle Application Server  
    OracleAS Certificate Authority (OCA) - Mutual Authentication 4401 Oracle Application Server  
    Oracle HTTP Server SSL port 4443 Oracle Application Server Edit httpd.conf and restart OHS 
    Oracle9iAS Web Cache HTTP Listen(SSL) port 4444 Oracle Application Server Webcache Admin GUI or webcache.xml 
    Oracle TimesTen 4662 Oracle TimesTen  
    Oracle TimesTen 4758 Oracle TimesTen  
    Oracle TimesTen 4759 Oracle TimesTen  
    Oracle TimesTen 4761 Oracle TimesTen  
    Oracle TimesTen 4764 Oracle TimesTen  
    Oracle TimesTen 4766 Oracle TimesTen  
    Oracle TimesTen 4767 Oracle TimesTen  
    Oracle Enterprise Manager Web Console 5500 Oracle Enterprise Manager Web  
    iSQLPlus 10g 5560 Oracle i*SQLPlus  
    iSQLPlus 10g 5580 Oracle i*SQLPlus RMI Port  
    Oracle Notification Service request port 6003 Oracle Application Server  
    Oracle Notification Service local port 6100 Oracle Application Server  
    Oracle Notification Service remote port 6200 Oracle Application Server  
    Oracle9iAS Clickstream Collector Agent 6668 Oracle Application Server  
    Java Object Cache port 7000 Oracle Application Server  
    DCM Java Object Cache port 7100 Oracle Application Server  
    Oracle HTTP Server Diagnostic Port 7200 Oracle Application Server  
    Oracle HTTP Server Port Tunneling 7501 Oracle Application Server  
    Oracle HTTP Server listen port / Oracle HTTP Server port 7777 Oracle Application Server Edit httpd.conf and restart OHS 
    Oracle9iAS Web Cache HTTP Listen(non-SSL) port 7779 Oracle Application Server Webcache Admin GUI or webcache.xml 
    Oracle HTTP Server Jserv port 8007 Oracle Application Server  
    Oracle XMLDB HTTP port 8080 Oracle Database change dbms_xdb.cfg_update 
    OC4J Forms / Reports Instance 8888 Oracle Developer Suite  
    OC4J Forms / Reports Instance 8889 Oracle Developer Suite  
    Oracle Forms Server 6 / 6i 9000 Oracle Application Server  
    Oracle SOAP Server 9998 Oracle Application Server  
    OS Agent 14000 Oracle Application Server  
    Oracle Times Ten 15000 Oracle Times Ten  
    Oracle Times Ten 15002 Oracle Times Ten  
    Oracle Times Ten 15004 Oracle Times Ten  
    Log Loader 44000 Oracle Enterprise Manager 
    [http://database.e800.com.cn/articles/2008/1018/1224274727487123481_1.html]
      

  4.   

    看不懂呐
    我尝试过了,通过1521端口可以telnet上去,但是oracle客户端和其他通过OCI直连的方式都连不通。ODBC又是什么原理呐?
      

  5.   

    用1521的时候 有可能还用另外端口在通讯。
    如ORACLE 8i,1521在侦听,数据交互是用别的动态端口的,别的版本不知道,但8i我确认还有别的端口在起作用,防火墙上只开通1521是不行的。
      

  6.   

    需要安裝ORACLE NET MANAGER ODBC客戶端並建立服務命及監聽器,最後在SQL端建立SQL ADDLINK.../****** Object:  LinkedServer [ora]    Script Date: 01/20/2009 08:59:57 ******/
    EXEC master.dbo.sp_addlinkedserver @server = N'ora', @srvproduct=N'oracle', @provider=N'msdaora', @datasrc=N'rsc'
     /* For security reasons the linked server remote logins password is changed with ######## */
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'ora',@useself=N'False',@locallogin=NULL,@rmtuser=N'mes',@rmtpassword='########'
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'ora',@useself=N'False',@locallogin=N'sa',@rmtuser=N'mes',@rmtpassword='########'GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'collation compatible', @optvalue=N'false'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'data access', @optvalue=N'true'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'dist', @optvalue=N'false'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'pub', @optvalue=N'false'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'rpc', @optvalue=N'false'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'rpc out', @optvalue=N'false'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'sub', @optvalue=N'false'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'connect timeout', @optvalue=N'30'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'collation name', @optvalue=null
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'lazy schema validation', @optvalue=N'false'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'query timeout', @optvalue=N'30'
    GOEXEC master.dbo.sp_serveroption @server=N'ora', @optname=N'use remote collation', @optvalue=N'true'
    GO
      

  7.   

    用ODAC连接试试,下载一个ODAC控件很好的组件