方法一:使用httpd-vhosts(相关推荐:apache)进入apache配置目录,如usrlocalapacheconf打开httpd.conf文件配置多个监听窗口81,82ServerName localhost:81