Error:-
While accessing the WebLogic Admin console http://<url>:7003/console reported with the following error:
“The Server is not able
to service this request: [Socket:000445]Connection rejected, filter blocked
Socket, weblogic.security.net.FilterException: [Security:090220]rule 2”
Root Cause:-
The error I encountered is due to WebLogic offers a concept called “connection filter“. Connection filters provide network layer access control and allow the server(s) to block unwanted communication based on different criteria.
You can check the WebLogic connector filter configuration under the config.xml file.
Note: config.xml is a file that contains all the
WebLogic configurations
In the above config.xml file, you can see that
it is blocking the connection for 0.0.0.0/0 where 0.0.0.0/0 is
nothing but public/private internet.
Note: Using Weblogic Connection filter you can also control access to particular IP
Solution:-
1) Open the config.xml file
cd $EBS_DOMAIN_HOME/config
2) Backup your config.xml file before making any
changes
eg: $ cp -R config.xml config.xml_bkp
3) Search for connection-filter-rule
4) Change the string “deny” to “allow”
<connection-filter-rule>0.0.0.0/0 * * deny</connection-filter-rule>
<connection-filter-rule>0.0.0.0/0 * * allow</connection-filter-rule>
5) Save the config.xml file & bounce the
admin server
Now you will be able to access the WebLogic console :)
No comments:
Post a Comment