weblogic启动失败:Could not obtain the localhost address 解决办法

时间:2023-03-09 01:41:08
weblogic启动失败:Could not obtain the localhost address 解决办法

linux下weblogic启动如果出现这个错误,多半是hosts文件不对

1、先输入hostname,查看本机计算机名(比如:server123

2、sudo vi /etc/hosts 编辑hosts文件,在最后加一行

127.0.0.1 server123 (这里的server123换成你自己的linux计算机名)

然后再启动就ok了