How to Stop OAS 10g OC4J Instances Opening Sockets Against [ALL] IP Addresses?

(Doc ID 414942.1)

Last updated on OCTOBER 24, 2016

Applies to:

Oracle Containers for J2EE - Version 9.0.4.0.0 to 10.1.3.5.0 [Release AS10g to AS10gR3]
Enterprise Manager for Fusion Middleware - Version 9.0.4.0.0 to 10.1.3.5.0
Oracle Fusion Middleware - Version 9.0.4.0.0 to 10.1.3.5.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.
Checked for relevance on 14-May-2009


Goal

How to avoid OracleAS 10g OC4J instances opening up AJP, RMI and JMS sockets against [ALL] ip addresses?

- or to word the question differently -

How to bind sockets opened by OracleAS OC4J  to a specific IP address instead of 0.0.0.0?

For example you may see the following netstat output which corresponds to an OC4J instance ajp socket

tcp 0 0 0.0.0.0:12503 0.0.0.0:* LISTEN

This document is valid for OAS 10g OC4J instances installed on the physical host address only. It does not apply to virtual host installation.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms