Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: sal: sal
<p>I found this error whenever i try to start my tomcat server from intellij idea.I tried by adding hostname on my hosts file (i.e etc/hosts) but it didn't work for me.screenshot of host file has been added here where "sal" is my hostname. Is there anyone who can help me out of this problem?<a href="https://i.stack.imgur.com/2QyQn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2QyQn.png" alt="enter image description here"></a></p>