On Windows, I've setup two listeners, each on a different nic. If I set both to the same port (remember different nic and ip), the second one (whichever I start second) will never start. I get error TNS-12542 address already in use. If I change one of the ports, it works fine.
Here is the content of my listener.ora
I originally tried using 127.0.0.1 and 127.0.0.2 but that had the same result, so I tried two physical nics instead.
Here is the content of my listener.ora
Code:
TEST2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.102)(PORT = 2521))
)
TEST1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.5.5)(PORT = 2521))
)
I originally tried using 127.0.0.1 and 127.0.0.2 but that had the same result, so I tried two physical nics instead.