解决Linux中java.net.UnknownHostException: oracledb.sys.iflashbuy.com问题

Linux环境报java.net.UnknownHostException: oracledb.sys.iflashbuy.com,原因为Linux下无法解析oracledb.sys.iflashbuy.com,解决方法为:修改 /etc/hosts

vi /etc/hosts进行编辑,添加红色部分

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.5.110 oracledb.sys.iflashbuy.com

 

你可能感兴趣的:(解决Linux中java.net.UnknownHostException: oracledb.sys.iflashbuy.com问题)