I'm trying to open port 8080 of localhost, but it doesn't work, in my httpd-vhosts archive i have this:
<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>
What can I do? Thank you.
Make sure your apache installation is listening on port 8080.
To listen on both port 80
and 8080
, use
Listen 80
Listen 8080
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.