Because the landlord previously learned is. NET natural Windows 80 port has been occupied by IIS, and then began to transfer php, download a WAMP integrated environment package to change the environment first, so that its port binding 8080 port, not students can refer to the landlord's blog
http://blog.csdn.net/zch501157081/article/details/50897480
But in learning to configure the virtual site is always a problem, and then after a toss, finally finished
First of all you mount 8080 port, then you configure http-vhosts.conf when your port name also to specify 8080 port
Second, configure host has no problem configuration, but you must be in the access must add 8080 ports, because the default is to go to the TCP80 port, of course, you can also change the TCP port number, access path for thinkphp.com:8080, if you do not add the port number you will enter the 80 port , which is the bound IIS.
So how do you get to a virtual site without adding a port number?
1. Add a layer agent, forward request, let it go to 8080 port
2. Change the TCP port number
A few noteworthy places
It's no use for you to add a direct port number directly to the host file, because you don't have to write any of the TCP 80 ports that he accesses.
If you comment out:: 1, then your access will be wrong, because the corresponding address can not be found