Apache server does not accept requests via port 443Stopping Apache from listening in port 443?WAMP / apache...

How to not let the Identify spell spoil everything?

Why is it that Bernie Sanders is always called a "socialist"?

Potential client has a problematic employee I can't work with

Why is Agricola named as such?

Why does photorec keep finding files after I have filled the disk free space as root?

Identify KNO3 and KH2PO4 at home

Is using an 'empty' metaphor considered bad style?

Is there any risk in sharing info about technologies and products we use with a supplier?

Why avoid shared user accounts?

Which communication protocol is used in AdLib sound card?

Is there a verb that means to inject with poison?

Am I a Rude Number?

A curious equality of integrals involving the prime counting function?

Separate environment for personal and development use under macOS

What is the difference between "...", '...', $'...', and $"..." quotes?

Square Root Distance from Integers

What is the wife of a henpecked husband called?

Why do we have to make "peinlich" start with a capital letter and also end with -s in this sentence?

Short story where statues have their heads replaced by those of carved insect heads

Airplane generations - how does it work?

Looking for a specific 6502 Assembler

After checking in online, how do I know whether I need to go show my passport at airport check-in?

Globe trotting Grandpa. Where is he going next?

Why are all my replica super soldiers young adults or old teenagers?



Apache server does not accept requests via port 443


Stopping Apache from listening in port 443?WAMP / apache requests not respondingCannot connect SSH from external IPApache Trying to Bind to 0.0.0.0:443Apache error - Port 443 in useSSH vs Apache port 443Apache security get requestsssh connect to host X.X.X.X port 22: connection refusedGetting through an ipv6 -only router with ipv4













0















I am running a cloud server on Apache2 on a Raspberry Pi. It is hower not reachable from the internet, as this Ip6 Port Scanner fails when I enter the current IP6 of the RPi:



enter image description here



Port 80 however works.



This is the output (on the RPi) from sudo netstat -tpln



Proto Recv-Q Send-Q Local Address           Foreign Address         State        PID/Program name     
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 369/vncserver-x11-c
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 394/sshd
tcp6 0 0 :::5900 :::* LISTEN 369/vncserver-x11-c
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::22 :::* LISTEN 394/sshd
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2


This is from sudo lsof -iTCP -sTCP:LISTEN -P



COMMAND     PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
vncserver 369 root 10u IPv6 14686 0t0 TCP *:5900 (LISTEN)
vncserver 369 root 11u IPv4 14687 0t0 TCP *:5900 (LISTEN)
sshd 394 root 3u IPv4 11477 0t0 TCP *:22 (LISTEN)
sshd 394 root 4u IPv6 11479 0t0 TCP *:22 (LISTEN)
apache2 4730 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 25034 root 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 25034 root 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 25034 root 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 25034 root 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 25034 root 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 25034 root 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 25034 root 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 25034 root 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)


So the server apparently listens. My guess is it has to do with VirtulHost configuration. This is the (reduced) content of /etc/apache2/sites-enabled/000-default.conf:



Listen 80
Listen 443

<VirtualHost *:80 [::]:80>
...
</VirtualHost>

<VirtualHost *:80 *:443>
....
</VirtualHost>


And this is /etc/apache2/sites-enabled/default-ssl.conf:



Listen 443
<IfModule mod_ssl.c>
<VirtualHost _default_:443>

....
</VirtualHost>
</IfModule>


What am I missing?










share|improve this question























  • Is the ssl module loaded (LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so). In any case, a look at the apache logs would be a first step...

    – xenoid
    Feb 19 at 20:55













  • is LoadModule a bash command, i.e. a program? I get LoadModule: unknown command

    – E. Sommer
    Feb 19 at 20:57











  • LoadModule isn't a console command. It is something that would be contained within your Apache configuration files. There are community tools that will help you configure Apache to support SSL/TLS. I suggest you try one those tools to get you started.

    – Ramhound
    Feb 19 at 21:00








  • 1





    It's a statement in an apache config file... At least RTFM?

    – xenoid
    Feb 19 at 21:01











  • I wanted to set up a certificate with certbot, but this also fails due to timeout.

    – E. Sommer
    Feb 19 at 21:07
















0















I am running a cloud server on Apache2 on a Raspberry Pi. It is hower not reachable from the internet, as this Ip6 Port Scanner fails when I enter the current IP6 of the RPi:



enter image description here



Port 80 however works.



This is the output (on the RPi) from sudo netstat -tpln



Proto Recv-Q Send-Q Local Address           Foreign Address         State        PID/Program name     
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 369/vncserver-x11-c
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 394/sshd
tcp6 0 0 :::5900 :::* LISTEN 369/vncserver-x11-c
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::22 :::* LISTEN 394/sshd
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2


This is from sudo lsof -iTCP -sTCP:LISTEN -P



COMMAND     PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
vncserver 369 root 10u IPv6 14686 0t0 TCP *:5900 (LISTEN)
vncserver 369 root 11u IPv4 14687 0t0 TCP *:5900 (LISTEN)
sshd 394 root 3u IPv4 11477 0t0 TCP *:22 (LISTEN)
sshd 394 root 4u IPv6 11479 0t0 TCP *:22 (LISTEN)
apache2 4730 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 25034 root 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 25034 root 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 25034 root 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 25034 root 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 25034 root 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 25034 root 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 25034 root 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 25034 root 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)


So the server apparently listens. My guess is it has to do with VirtulHost configuration. This is the (reduced) content of /etc/apache2/sites-enabled/000-default.conf:



Listen 80
Listen 443

<VirtualHost *:80 [::]:80>
...
</VirtualHost>

<VirtualHost *:80 *:443>
....
</VirtualHost>


And this is /etc/apache2/sites-enabled/default-ssl.conf:



Listen 443
<IfModule mod_ssl.c>
<VirtualHost _default_:443>

....
</VirtualHost>
</IfModule>


What am I missing?










share|improve this question























  • Is the ssl module loaded (LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so). In any case, a look at the apache logs would be a first step...

    – xenoid
    Feb 19 at 20:55













  • is LoadModule a bash command, i.e. a program? I get LoadModule: unknown command

    – E. Sommer
    Feb 19 at 20:57











  • LoadModule isn't a console command. It is something that would be contained within your Apache configuration files. There are community tools that will help you configure Apache to support SSL/TLS. I suggest you try one those tools to get you started.

    – Ramhound
    Feb 19 at 21:00








  • 1





    It's a statement in an apache config file... At least RTFM?

    – xenoid
    Feb 19 at 21:01











  • I wanted to set up a certificate with certbot, but this also fails due to timeout.

    – E. Sommer
    Feb 19 at 21:07














0












0








0








I am running a cloud server on Apache2 on a Raspberry Pi. It is hower not reachable from the internet, as this Ip6 Port Scanner fails when I enter the current IP6 of the RPi:



enter image description here



Port 80 however works.



This is the output (on the RPi) from sudo netstat -tpln



Proto Recv-Q Send-Q Local Address           Foreign Address         State        PID/Program name     
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 369/vncserver-x11-c
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 394/sshd
tcp6 0 0 :::5900 :::* LISTEN 369/vncserver-x11-c
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::22 :::* LISTEN 394/sshd
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2


This is from sudo lsof -iTCP -sTCP:LISTEN -P



COMMAND     PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
vncserver 369 root 10u IPv6 14686 0t0 TCP *:5900 (LISTEN)
vncserver 369 root 11u IPv4 14687 0t0 TCP *:5900 (LISTEN)
sshd 394 root 3u IPv4 11477 0t0 TCP *:22 (LISTEN)
sshd 394 root 4u IPv6 11479 0t0 TCP *:22 (LISTEN)
apache2 4730 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 25034 root 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 25034 root 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 25034 root 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 25034 root 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 25034 root 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 25034 root 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 25034 root 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 25034 root 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)


So the server apparently listens. My guess is it has to do with VirtulHost configuration. This is the (reduced) content of /etc/apache2/sites-enabled/000-default.conf:



Listen 80
Listen 443

<VirtualHost *:80 [::]:80>
...
</VirtualHost>

<VirtualHost *:80 *:443>
....
</VirtualHost>


And this is /etc/apache2/sites-enabled/default-ssl.conf:



Listen 443
<IfModule mod_ssl.c>
<VirtualHost _default_:443>

....
</VirtualHost>
</IfModule>


What am I missing?










share|improve this question














I am running a cloud server on Apache2 on a Raspberry Pi. It is hower not reachable from the internet, as this Ip6 Port Scanner fails when I enter the current IP6 of the RPi:



enter image description here



Port 80 however works.



This is the output (on the RPi) from sudo netstat -tpln



Proto Recv-Q Send-Q Local Address           Foreign Address         State        PID/Program name     
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 369/vncserver-x11-c
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 394/sshd
tcp6 0 0 :::5900 :::* LISTEN 369/vncserver-x11-c
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::80 :::* LISTEN 4730/apache2
tcp6 0 0 :::22 :::* LISTEN 394/sshd
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2
tcp6 0 0 :::443 :::* LISTEN 4730/apache2


This is from sudo lsof -iTCP -sTCP:LISTEN -P



COMMAND     PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
vncserver 369 root 10u IPv6 14686 0t0 TCP *:5900 (LISTEN)
vncserver 369 root 11u IPv4 14687 0t0 TCP *:5900 (LISTEN)
sshd 394 root 3u IPv4 11477 0t0 TCP *:22 (LISTEN)
sshd 394 root 4u IPv6 11479 0t0 TCP *:22 (LISTEN)
apache2 4730 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4730 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4730 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 4731 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 4731 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 25034 root 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 25034 root 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 25034 root 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 25034 root 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 25034 root 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 25034 root 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 25034 root 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 25034 root 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31355 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31355 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31356 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31356 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31357 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31357 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31359 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31359 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 4u IPv6 635470 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 6u IPv6 635474 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 8u IPv6 635478 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 10u IPv6 635489 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 12u IPv6 637228 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 14u IPv6 677207 0t0 TCP *:80 (LISTEN)
apache2 31360 www-data 17u IPv6 637239 0t0 TCP *:443 (LISTEN)
apache2 31360 www-data 21u IPv6 677218 0t0 TCP *:443 (LISTEN)


So the server apparently listens. My guess is it has to do with VirtulHost configuration. This is the (reduced) content of /etc/apache2/sites-enabled/000-default.conf:



Listen 80
Listen 443

<VirtualHost *:80 [::]:80>
...
</VirtualHost>

<VirtualHost *:80 *:443>
....
</VirtualHost>


And this is /etc/apache2/sites-enabled/default-ssl.conf:



Listen 443
<IfModule mod_ssl.c>
<VirtualHost _default_:443>

....
</VirtualHost>
</IfModule>


What am I missing?







linux networking apache-http-server ipv6






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 19 at 20:29









E. SommerE. Sommer

1125




1125













  • Is the ssl module loaded (LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so). In any case, a look at the apache logs would be a first step...

    – xenoid
    Feb 19 at 20:55













  • is LoadModule a bash command, i.e. a program? I get LoadModule: unknown command

    – E. Sommer
    Feb 19 at 20:57











  • LoadModule isn't a console command. It is something that would be contained within your Apache configuration files. There are community tools that will help you configure Apache to support SSL/TLS. I suggest you try one those tools to get you started.

    – Ramhound
    Feb 19 at 21:00








  • 1





    It's a statement in an apache config file... At least RTFM?

    – xenoid
    Feb 19 at 21:01











  • I wanted to set up a certificate with certbot, but this also fails due to timeout.

    – E. Sommer
    Feb 19 at 21:07



















  • Is the ssl module loaded (LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so). In any case, a look at the apache logs would be a first step...

    – xenoid
    Feb 19 at 20:55













  • is LoadModule a bash command, i.e. a program? I get LoadModule: unknown command

    – E. Sommer
    Feb 19 at 20:57











  • LoadModule isn't a console command. It is something that would be contained within your Apache configuration files. There are community tools that will help you configure Apache to support SSL/TLS. I suggest you try one those tools to get you started.

    – Ramhound
    Feb 19 at 21:00








  • 1





    It's a statement in an apache config file... At least RTFM?

    – xenoid
    Feb 19 at 21:01











  • I wanted to set up a certificate with certbot, but this also fails due to timeout.

    – E. Sommer
    Feb 19 at 21:07

















Is the ssl module loaded (LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so). In any case, a look at the apache logs would be a first step...

– xenoid
Feb 19 at 20:55







Is the ssl module loaded (LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so). In any case, a look at the apache logs would be a first step...

– xenoid
Feb 19 at 20:55















is LoadModule a bash command, i.e. a program? I get LoadModule: unknown command

– E. Sommer
Feb 19 at 20:57





is LoadModule a bash command, i.e. a program? I get LoadModule: unknown command

– E. Sommer
Feb 19 at 20:57













LoadModule isn't a console command. It is something that would be contained within your Apache configuration files. There are community tools that will help you configure Apache to support SSL/TLS. I suggest you try one those tools to get you started.

– Ramhound
Feb 19 at 21:00







LoadModule isn't a console command. It is something that would be contained within your Apache configuration files. There are community tools that will help you configure Apache to support SSL/TLS. I suggest you try one those tools to get you started.

– Ramhound
Feb 19 at 21:00






1




1





It's a statement in an apache config file... At least RTFM?

– xenoid
Feb 19 at 21:01





It's a statement in an apache config file... At least RTFM?

– xenoid
Feb 19 at 21:01













I wanted to set up a certificate with certbot, but this also fails due to timeout.

– E. Sommer
Feb 19 at 21:07





I wanted to set up a certificate with certbot, but this also fails due to timeout.

– E. Sommer
Feb 19 at 21:07










1 Answer
1






active

oldest

votes


















0














The reason why this did not work that my ISP provided DS lite.





share























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1407599%2fapache-server-does-not-accept-requests-via-port-443%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The reason why this did not work that my ISP provided DS lite.





    share




























      0














      The reason why this did not work that my ISP provided DS lite.





      share


























        0












        0








        0







        The reason why this did not work that my ISP provided DS lite.





        share













        The reason why this did not work that my ISP provided DS lite.






        share











        share


        share










        answered 3 mins ago









        E. SommerE. Sommer

        1125




        1125






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1407599%2fapache-server-does-not-accept-requests-via-port-443%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

            Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

            looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...