Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

ERROR--> Port: 443 Used for the vitual host is not an apache Listen Port (no replies)

$
0
0
Hello all,
I installed wampserver3.2.3_x64 successfully on Windows 10 Pro. Then I also installed Win64OpenSSL_Light-1_1_1k and configure it.
At last also checked httpd -t for verification and it gave no error of syntax. I tried to open page on local machine by [localhost], it shows me default WAMP page but at bottom it gives an error stating that -- "Port: 443 Used for the vitual host is not an apache Listen Port" .

I tried to open the same page from another PC in LAN. I got the same result with same error.
Please help me to resolve this. Kindly check content of "httpd-vhost.conf" file below:

================= httpd-vhost.conf File ==================
# Virtual Hosts
#
<VirtualHost *:443>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile "${SRVROOT}/conf/key/certificate.crt"
SSLCertificateKeyFile "${SRVROOT}/conf/key/private.key"
</VirtualHost>
==================================================


================= httpd-ssl.conf File ==================

(NOTE: I HAVE ATTACHED NECESSARY LINES FROM THIS FILE)

Listen 0.0.0.0:443

SSLSessionCache "shmcb:${SRVROOT}/logs/ssl_scache(512000)"

<VirtualHost _default_:443>

# General setup for the virtual host
#DocumentRoot "${SRVROOT}/htdocs"
DocumentRoot "${INSTALL_DIR}/www"
ServerName localhost:443
ServerAdmin admin@example.com
ErrorLog "${SRVROOT}/logs/error.log"
TransferLog "${SRVROOT}/logs/access.log"

SSLEngine on
SSLCertificateFile "${SRVROOT}/conf/key/certificate.crt"
SSLCertificateKeyFile "${SRVROOT}/conf/key/private.key"
CustomLog "${SRVROOT}/logs/ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

==========================================================


Regards...

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>