10

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.

MysticMagicϡ
  • 28,593
  • 16
  • 73
  • 124
Assel Nurmukhanova
  • 101
  • 1
  • 1
  • 4

6 Answers6

20

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.

aleung
  • 9,848
  • 3
  • 55
  • 69
5

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>

Vaibhav Jain
  • 1,939
  • 26
  • 36
1

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 :)

DASADIYA CHAITANYA
  • 2,850
  • 3
  • 18
  • 41
Inesy
  • 19
  • 1
0
  1. Is your machine connected to the network?
  2. Do you have any firewall installed? Is it blocking access from the outside?
  3. Do you have any other software on your computer that is blocking access?
  4. Does you network have hardware/software that blocks access to certain ports?
  5. Other
pringi
  • 3,987
  • 5
  • 35
  • 45
0

This is a firewall issue. You can add port 7001 an exception to the firewall or before that to confirm whether the issue is because of firewall, try

systemctl stop firewalld

Check again if you are able to access the console from a different machine.

Ashish K
  • 905
  • 10
  • 27
0

just allow specific port in firewall, Try this

sudo firewall-cmd --zone=public --permanent --add-port=7001/tcp
sudo firewall-cmd –-reload
Dilan
  • 2,610
  • 7
  • 23
  • 33