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

时间:2022-04-23
本文章向大家介绍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了