weblogic启动失败:Could not obtain the localhost addressweb
一、使用hostname命令查看本机计算机名vim
以返回servername为例。spa
二、使用有su权限的用户编辑hosts文件。server
命令为 vim /etc/hostsblog
添加权限
127.0.0.1 servername (servername为hostname命令查出的计算机名)im