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.
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.
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.
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.
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.
If it works then change the default port in weblogic Go to config.xml file in \user_projects\domains\\config
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>
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.
I had the same problem and solved it like:
From the administration console change Listen address from localhost to admin server's IP
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 :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With