: Enabling SSL on Apache2 causes address already in use error My server works just fine on a normal Apache2 install. Now, I'm trying to install subversion on this server using a guide I found
My server works just fine on a normal Apache2 install. Now, I'm trying to install subversion on this server using a guide I found on the net called: Installation of Subversion on Ubuntu, with Apache, SSL, and BasicAuth.
However I get the following error:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
When I do grep -rH 443 /etc/apache2/ I get results in two files: ports.conf and sites-enabled/default-ssl
I tried it both with and without that last Listen 443 commented out, here's ports.conf:
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
NameVirtualHost *:443
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
#Listen 443
And the first few lines of default-ssl
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
SSLEngine on
SSLCertificateFile /this/isnt/relevant/probably.pem
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM
And netstat -an --inet | grep 443 returns nothing.
Any ideas?
More posts by @Karen161
1 Comments
Sorted by latest first Latest Oldest Best
I fixed it myself when I commend these lines out in ports.conf
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.