title: Spring Boot : Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown
body: <p>I have installed Spring Tool Suite on Eclipse (STS 3.9.2), I created a Demo application, but when I run it as "Spring Boot App" I get the following error :</p>
  
  <blockquote>
    <p>Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: linux-se15: linux-se15: Name or service not known</p>
  </blockquote>
  
  <p>Running this command gives the following result :</p>
  
  <pre><code>  hostname --fqdn
    hostname: Name or service not known
  </code></pre>
  
  <p>/etc/hosts has the following :</p>
  
  <pre><code>127.0.0.1   localhost
  
  # special IPv6 addresses
  ::1             localhost ipv6-localhost ipv6-loopback
  
  fe00::0         ipv6-localnet
  
  ff00::0         ipv6-mcastprefix
  ff02::1         ipv6-allnodes
  ff02::2         ipv6-allrouters
  ff02::3         ipv6-allhosts
  </code></pre>