I am setting up an Oracle SSL instance inside a docker.
I am using this docker image: https://hub.docker.com/r/rafaelmariotti/oracle-ee-11g/
after set up the docker machine, etc, run the instance like this: $docker run -d -p 1521:1521 -p 2484:2484 d03c4f0a4743
Then I ssh into the docker instance: $docker exec -it xxxxxxxxxx /bin/bash
Modified the listener.ora file:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = 1521))
)
#(DESCRIPTION =
# (ADDRESS = (PROTOCOL = TCPS)(HOST = )(PORT = 2484))
#)
)
ADR_BASE_LISTENER = /home/oracle/app/oracle
The line starts with # are lines that I added, but not commented out in the actual file.
Not if I connect to the instance, port 1521 returns correct, but port 2484 directly returns: IO Error: Connection reset java.net.SocketException: Connection reset
But if I change the added line by replacing TCPS to TCP
(ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = 2484))
Then the error will be something like ORA-xxxxx
So it seems that the PROTOCOL = TCPS brings in the issue
Anybody can help?
Thanks!
