title: Where to change base-url for glassfish war deployment?
body: <p>Im following a glassfish tutorial for uni where i export a webapp and it tells me to deploy it. I deploy it and it provides links to launch it, but the server (by default for some reasons) launches it at: <code>computername.ispname:8181/webapp</code> instead of the expected <code>localhost:4848/webapp</code>where if i go to, i get a 404.<br>
  Where/how can i change the base URL?
  <img src="https://i.stack.imgur.com/duIRa.png" alt="enter image description here"></p>
  
  <p>Following any of these links or <code>localhost:4848/T4</code>  or <code>localhost:8080/T4</code> doesnt load the webapp eg. <code>ERR_ADDRESS_UNREACHABLE</code> </p>