[英]WAMP Apache Open port
我正在尝试打开localhost的端口8080,但是它不起作用,在我的httpd-vhosts归档文件中,我有以下内容:
<VirtualHost *:8080>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "C:/wamp/www/demostration"
ServerName localhost
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>
我能做什么? 谢谢。
确保您的apache安装正在侦听端口8080。
要同时监听端口80
和8080
,请使用
Listen 80
Listen 8080
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.