Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remotely accessing Weblogic server

Tags:

java

weblogic

I installed locally and now running Weblogic Server in my machine. I can access the web application from my machine by using URL like 192.168.XXX.XXX:7001/myapp/, but I cannot access it from a different machine connected in same network. I have done this one: went to Administrative console, clicked on my server and inserted my IP in the textbox beside Listen Address.But it didn't help.

Please, help me on this matter.

like image 665
Assel Nurmukhanova Avatar asked Jan 08 '13 05:01

Assel Nurmukhanova


People also ask

How do I access WebLogic server?

Under Connect to the target host option, select Instance name. From the Compute instance, select the domain instance that has the Administration Server node. In the Port field, enter the WebLogic administration server's listener port number, where the administration console is accessible.

How do I access the Oracle WebLogic admin console?

Starting the WebLogic ServerAt the command prompt, navigate to the domain directory. The domain directory is BEA_HOME /user_projects/ domain_name . An example could be c:\bea\user_projects\mydomain . Run the server startup script: startWebLogic.


3 Answers

Companies block some ports due to security reason. And 7001 is one of those common ports which they block. So you can perform following steps.

  1. Type following command in cmd: telnet HOST.IP.ADDRESS PORT

    Ex: telnet 192.658.152.45 7001

    In case if it shows connecting and then stops, that means that port has been blocked. Try some other port , let say 8080.

  2. If it works then change the default port in weblogic Go to config.xml file in \user_projects\domains\\config

  3. Add listener port as

    <server> <name>AdminServer</name> <listen-port>8080</listen-port> <listen-port-enabled>true</listen-port-enabled> <listen-address></listen-address> </server>

like image 100
Vaibhav Jain Avatar answered Oct 17 '22 05:10

Vaibhav Jain


The 'Listen Address' configuration item specifies which IP address your server listens on.

If it's set to 127.0.0.1 or localhost, then your server only listens on localhost address, which means it only serves requests come from localhost.

You should set it to the public IP address of your machine. Or simply set to 0.0.0.0, which means listen on all available address that your machine has.

like image 44
aleung Avatar answered Oct 17 '22 04:10

aleung


I had the same problem and solved it like:

  1. From the administration console change Listen address from localhost to admin server's IP

  2. Stop Windows Firewall (I try only to define a new Rule to open port 7001 but without a result)

After that all works like a charm :)

like image 33
Inesy Avatar answered Oct 17 '22 06:10

Inesy