Oracle-hören Sie auf ändern der port für remote-verbindungen

Habe ich installiert, Oracle 11gR2, und ich bin jetzt versucht, den Zugriff auf die Datenbank von einem remote-system.

Meine Zuhörer.ora ist immer noch Standard:

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
  )

ADR_BASE_LISTENER = /media/oracle/app/oracle

./lsnrctl services gibt diese:

oracle@ubuntu:/media/oracle/app/oracle/product/11.2.0/dbhome_1/bin$ ./lsnrctl services

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-MAY-2010 05:00:49

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "gis.c2c" has 1 instance(s).
  Instance "gis", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
         LOCAL SERVER
Service "gisXDB.c2c" has 1 instance(s).
  Instance "gis", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:972 state:ready
         DISPATCHER <machine: ubuntu, pid: 2916>
         (ADDRESS=(PROTOCOL=tcp)(HOST=ubuntu.localdomain)(PORT=47616))
The command completed successfully

Ich bin nicht in der Lage, eine remote-Verbindung über den port 1521, aber die oben genannten port 47616 funktioniert. Ich würde nicht dagegen, mit einem anderen port als 1521, aber das problem ist, dass dieser port ändert sich bei jedem Neustart.

Was mache ich falsch?

Dank!

InformationsquelleAutor tsauerwein | 2010-05-05
Schreibe einen Kommentar