Sorry that was a typo. It is listed at PORT=1521
Main Topics
Browse All TopicsExperts,
I have been working with Oracle 11g and trying to staically register the listener file. We have had issues with our database where the following error is returned "ORA12528 tns listener all appropriate instances are blocking new connections". My listener.ora file is below along with TNSNAME.ora file. I recieved the following error when I tried to use this listner.ora file:
TNS-01150:The address of specified listener name is incorrect.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Typically, your with static registration, your listener.ora should look something like this:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test-win.abcd.com)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = tester.abcd.com)
(ORACLE_HOME = C:\app\admin\product\11.1.
(SID_NAME = tester)
)
)
Double check those values, but they should be close. If you are unsure on what the global name is, you can connect to the database and run:
SELECT * FROM GLOBAL_NAME;
We have been having all kinds of issues with the Oracle 11g installation. It's on every install on different systems that we have problems with the listener that will not unregister. Then when we start up the database we recieve ORA12525 tns listener all appropriate instances are blocking new connections. The only way I get to resolve it is to bounce the listener. However, the users are not happy about the inconvienience. I thought statically registering the db would help solve this problem.
Are there other settings I should be looking at to fix the issue? It seems the db and listener stop communication.
To check if static registration works use
lsnrctl services
You register not the listener, you register the Oracle instances that work on the Server.
A important prereqiusite is not to have blocked by firewalls or antiviruses ports.
For STATIC registration of the Oracle service to the Listener:
Go to the remote 10g installation where the Oracle server resides.
Backup LISTENER.ORA file!!!!!!!
In ...\network\admin open listener.ora
see
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\Ora10g)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = test)
(ORACLE_HOME = D:\Ora10g)
)
)
Add the entry
(SID_DESC =
(SID_NAME = test)
(ORACLE_HOME = D:\Ora10g)
)
with regard to the particular Oracle Home and SID Name.
In Oracle 11g you have to create from scratch in the listener.ora file the section
SID_LIST_LISTENER =
&..
mentioned above.
Restart the listener:
c:>lsnrctl stop
c:>lsnctl start
Thats all.
Looking for any kind of firewalls (on my laptop the company has activated a second one in addition to the standart Microsoft)
and antiviruses (processes....).
But the root is to do statioc registration and to make sure it works.
Also Oracle uses port 1521 only for handshake, after that it
redirects the connection to other port and established socket connection.
Is there any way that I can see where the redirection to another port? Is this something netstat would show? I'm wondering if in our configuration we have another application interferring with an Oracle port.
Once the socket connection is established, how does the client know to go to the changed port? In the listener file the port is 1521.
Client doesn't know this.
There is PORTLIST parameter that describes the range of the used ports.
The client sends automatically the his port and the server choses a free port.
Socket connection will be established.
But if the ports are blocked this will crash.
There are commands that show who is using particular port.
Look in the list of commands for your OS on the Net.
Business Accounts
Answer for Membership
by: johnsonePosted on 2009-10-29 at 14:10:25ID: 25698299
In the listener.ora, you need PORT=1521, not PORT:1521.