1833757 Members
2769 Online
110063 Solutions
New Discussion

Close port 1521

 
Judy Halter
Occasional Advisor

Close port 1521

I'm hoping someone can help a newbie learn how to close port 1521. I want to plug the hole that exists there.

Judy H
6 REPLIES 6
LiPEnS
Valued Contributor

Re: Close port 1521

Hi Judy
You try "lsnrctl stop" :-) or change default port of listener or install firewall www.hp.com/products1/unix/operating/infolibrary/briefs/ipfilter_sbrief_0204.pdf

Regards
Ranjith_5
Honored Contributor

Re: Close port 1521

Hi July,

Download Ipfilter from here for free.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9901AA

detailed documentation with sample configuration is also available there.

Hope this helps.

Regards,
Syam
Joseph Loo
Honored Contributor

Re: Close port 1521

hi judy,

that looks like a database port. u may like to confirm with the DBA or someone if u really want to stop it.

regards.
what you do not see does not mean you should not believe
AwadheshPandey
Honored Contributor

Re: Close port 1521

Judy
This port is used by DBase, why u want to close ?
check this link
http://www.dbasupport.com/oracle/ora9i/connecting3.shtml.

Awadhesh
It's kind of fun to do the impossible
KapilRaj
Honored Contributor

Re: Close port 1521

Looking at the number it is a DBA's favourite ( So it may be a listener, you may check /etc/listener.ora).

Use lsof to find which process has opened 1521 ...

lsof -i tcp:1521 # This will give the process which has opened this port.

I have seen this number used by Oracle apps servers as well.

Regds,

Kaps
Nothing is impossible
Judy Halter
Occasional Advisor

Re: Close port 1521

Thanks to all of you for your answers. I will be reviewing all your advice in detail tomorrow at the office and will apply points at that time. As it happens I am also the Oracle DBA (that is where my certification is - I just 'inherited' the UNIX work). I know enough UNIX to manage the database, but am definately a newbie with an issue like this one.

I will be testing the changes I make on my backup server before putting it into production so I'll be able to answer my questions about if closing that port (or using a different one) will adversely affect the database. We're not using Oracle applications.

These forums are great. Look for points tomorrow.

Thanks,