# sudo vim /etc/hosts
If /etc/hosts doesn't containt the definition of the hostname it
fails. Just add your hostname to /etc/host for example if your hostname
is work add or modified the following line:
127.0.0.1 work localhost
source: http://stackoverflow.com/questions/4969156/error-java-net-unknownhostexception
No comments:
Post a Comment