title: TFS Change server port and visual studio 2012, problems
body: <p>I have been using tfs with no problems on local network with port 8080. Then i decided to change the port.... why o why did i bother. I have had a terrible few hours trying to sort it. Searched goggle for fixes etc. I think i now have it working but only after reall problems, this then makes me wander and worried about how to from visual studio 2012:</p>
  
  <ol>
  <li>have a local area network conenction to tfs: servername:9876</li>
  <li>remote connection: domain name: domain.com:9876</li>
  </ol>
  
  <p>both of which map to the same folders on pc/ laptop and same projects on tfs server.</p>
  
  <p>This caused masses of problems, i then delete the server and re added the correct one. Deleted all cache and workspaces. But then i couldnt map to location as it existed. then couldnt create a new worksapce it said it existed even after delteing the cache. In the end i delete all again, chose a new location on pc for to pull down solutions in tfs. This worked but i am afraid if i look at the solution file in notepad the server port is 8080 still even though the server is now 9876. Based on the above 2 questions what should i do next time. Or even should i still do to make sure all is clean and tidy.</p>
  
  <p>I must have this wrong as it cant be so hard to change the port nunmber of the server or even the server name its self. </p>
  
  <p>thanks</p>