Localhost maps to multiple IP addresses in weblogic 10.3

Question : Localhost maps to multiple IP addresses in weblogic 10.3

Hi All,

i am a newbie in weblogic.i have installed weblogic 10.3 in my Rhel 5 box.But when i start the script startweblogic.sh i am getting a error which i mentioned below.

ly.>

up.com”, maps to multiple IP addresses: 192.168.142.149, 127.0.0.1>

i did a netstat -an | grep 7001
[root@admin-cgi1 uninstall]# netstat -an | grep 7001
tcp        0      0 ::ffff:127.0.0.1:7001       :::*                        LISTEN
tcp        0      0 ::ffff:192.168.142.149:7001 :::*                        LISTEN
[root@admin-cgi1 uninstall]#

i tried going to the console through


Solution: Localhost maps to multiple IP addresses in weblogic 10.3

 

Hope you are able to locate config.xml in your domain atleast.

Otherwise, search for config.xml in the directory from where you are starting startWeblogic.sh

Now, in config.xml, do the following

AdminServer
ENTER_YOUR_HOSTNAMEsten-address>

Replace ENTER_YOUR_HOSTNAME with your machine name. I hope your server name is AdminServer. If you see something else dont change it.

CRUX is to just set listen-address value and restart your server. Now you can access from anywhere provided your machine name is resolvable from other systems.