title: How to change host name Glassfish
body: <p>I have troubles with glassfish server. I have created application in eclipse and war application, copied it to the remote server and delpoyed to glassfish. It recognized this web application and it works if specify url set it manually, by default it has following url </p>
  
  <pre><code>http://ubuntu:8080/TestService/TestServiceProvider?Tester
  </code></pre>
  
  <p>If set it to my server ip address manually it works great. How can I change ubuntu to my hostname.<br>
  Thanks.</p>