title: Run Hudson as Windows Service on different port
body: <p>I am running Hudson as a windows service on windows 7.  I did this by downloading the latest version as a war file from <a href="http://hudson-ci.org/download/war/" rel="nofollow">http://hudson-ci.org/download/war/</a>.  I put the war file in C:\Build\Hudson, and then started it by entering the command "C:\Build\Hudson> java -jar hudson.war" in cmd (see <a href="http://www.eclipse.org/hudson/the-hudson-book/book-hudson.chunked/ch02.html" rel="nofollow">here</a>).</p>
  
  <p>After I finished installing plugins I went to "Manage Hudson" and clicked "Install as Windows Service".  You can see the step-by-step instructions for what I did here: <a href="http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+as+a+Windows+service" rel="nofollow">http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+as+a+Windows+service</a>.  It is now running on port 8080.  I want to change it to run on port 19091.  After Googling and searching Stack Overflow for an answer, it seems that the standard way to do this is to change the setting in Hudson.xml, which is located in the Hudson installation directory (see <a href="http://fuzz-box.blogspot.com/2011/03/change-hudson-jenkins-default-port.html" rel="nofollow">here</a> for an example answer).</p>
  
  <p>Here's the Problem:  For me there is no installation directory, because I downloaded Hudson as a war file.  So my question is this: Is there any way to change the port Hudson runs on as a service without starting over, or do I need to go about this whole process differently (and if so, what is the best way)?</p>