ㄓㄤㄑㄧㄤ

linux系统部署Java程序获取ip时报Caused by: java.net.UnknownHostException: XXXXXXXXXX: XXXXXXXXXX: Name or service not known

问题一: 
Caused by: java.net.UnknownHostException: XXXXXXXXXX: XXXXXXXXXX: Name or service not known

vi /etc/hosts
127.0.0.1 iZuf68tztea6l5ccdz7wemZ

XXXXXXXXXX自己的主机名

posted @   ㄓㄤㄑㄧㄤ  阅读(5675)  评论(0编辑  收藏  举报
努力加载评论中...
哈哈,页脚部分。
点击右上角即可分享
微信分享提示