title: Using port number in Windows host file
body: <p>After installing TeamViewer, I have changed the wampserver port to 8080, so the address is <code>http://localhost:8080.</code></p>
  
  <p>For the host file located at C:\WINDOWS\system32\drivers\etc\, I have also made the change as below</p>
  
  <p>BEFORE<br>
  <code>127.0.0.1       www.example.com</code></p>
  
  <p>AFTER<br>
  <code>127.0.0.1:8080       www.example.com</code></p>
  
  <p>When I access www.example.com, it doesn't redirect to my wampserver, how can I fix it?</p>