web server启动报错

Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: xxxxx

问题原因:

新装机器找不到xxxxx的ip

/etc/sysconfig/network里有了

在/etc/hosts里配上就ok

127.0.0.1 xxxxx localhost
或者

$networkinterfaceip  xxxxx

猜你喜欢

转载自alexzh.iteye.com/blog/1533434