logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache not responding
Author
amka



Joined: 19 Apr 2025
Posts: 2

PostPosted: Sat 19 Apr '25 19:17    Post subject: Apache not responding Reply with quote

Hello,

I am trying to do a simple web page through a dynamic dns and apache is not responding.

It seems to me all is right, I don't understand what is happening. Can please someone help me ?



Code:
root@gigabyte:/etc/apache2/sites-enabled# netstat -tulpn | grep LISTEN
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      1201/dnsmasq       
tcp        0      0 127.0.0.1:42097         0.0.0.0:*               LISTEN      1933/sshd: amer@not
tcp        0      0 127.0.0.1:42098         0.0.0.0:*               LISTEN      1933/sshd: amer@not
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      988/apache2         
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      821/sshd: /usr/sbin
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      869/postgres       
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      951/cupsd           
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1729/exim4         
tcp6       0      0 ::1:42097               :::*                    LISTEN      1933/sshd: amer@not
tcp6       0      0 ::1:42098               :::*                    LISTEN      1933/sshd: amer@not
tcp6       0      0 :::1716                 :::*                    LISTEN      2604/kdeconnectd   
tcp6       0      0 :::22                   :::*                    LISTEN      821/sshd: /usr/sbin
tcp6       0      0 ::1:631                 :::*                    LISTEN      951/cupsd           
tcp6       0      0 ::1:25                  :::*                    LISTEN      1729/exim4         
tcp6       0      0 ::1:5432                :::*                    LISTEN      869/postgres     


Code:
root@gigabyte:/etc/apache2/sites-enabled# cat boja.publicvm.com.conf
<VirtualHost *:80>
    ServerName boja.publicvm.com
    ServerAdmin aka@alphanet.ch
    DocumentRoot /var/www/boja.publicvm.com/public_html

    <Directory /var/www/boja.publicvm.com/public_html>
        Options -Indexes +FollowSymLinks
        AllowOverride All
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/boja.publicvm.com-error.log
    CustomLog ${APACHE_LOG_DIR}/boja.publicvm.com-access.log combined
</VirtualHost>


Code:
root@gigabyte:/etc/apache2/sites-enabled# systemctl  -l status apache2
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enabled)
     Active: active (running) since Sat 2025-04-19 18:24:05 CEST; 4min 54s ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 769 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
   Main PID: 988 (apache2)
      Tasks: 55 (limit: 76920)
     Memory: 24.1M
        CPU: 76ms
     CGroup: /system.slice/apache2.service
             ├─988 /usr/sbin/apache2 -k start
             ├─989 /usr/sbin/apache2 -k start
             └─990 /usr/sbin/apache2 -k start

avr 19 18:24:05 gigabyte systemd[1]: Starting apache2.service - The Apache HTTP Server...
avr 19 18:24:05 gigabyte systemd[1]: Started apache2.service - The Apache HTTP Server.



Code:
root@gigabyte:/etc/apache2/sites-enabled# cat /var/www/boja.publicvm.com/public_html/index.html
<!DOCTYPE html>
<html lang="en" dir="ltr">
   <head>
      <meta charset="utf-8">
      <title>Welcome to boja.publicvm.com</title>
   </head>
   <body>
      <h1>Success! boja.publicvm.com home page!</h1>
   </body>
</html>
Back to top
tangent
Moderator


Joined: 16 Aug 2020
Posts: 375
Location: UK

PostPosted: Sat 19 Apr '25 23:12    Post subject: Reply with quote

For me, your site doesn't appear to be reachable over the Internet.

I've tried from here in the UK (using tracetcp to port 80), as well as a number of internet hosted standard traceroute utilities. All come back with connection timeout, e.g.
    C:\Temp>tracetcp boja.publicvm.com:80

    Tracing route to 77.77.255.43 [cable-77-77-255-43.dynamic.telemach.ba] on port 80
    Over a maximum of 30 hops.
    1 2 ms 2 ms 2 ms 192.168.1.1
    2 13 ms 13 ms 13 ms 195.166.130.251 [251.core.plus.net]
    3 14 ms 13 ms 14 ms 217.32.25.148
    4 14 ms 14 ms 13 ms 109.159.255.34
    5 14 ms 15 ms 14 ms 195.99.127.50 [core6-hu0-7-0-15.faraday.ukcore.bt.net]
    6 14 ms 15 ms 14 ms 166.49.209.194 [166-49-209-194.gia.bt.net]
    7 15 ms * * 62.115.148.100 [ldn-b13-link.ip.twelve99.net]
    8 15 ms * * 62.115.127.102 [ldn-bb2-link.ip.twelve99.net]
    9 * 44 ms 21 ms 62.115.135.25 [prs-bb1-link.ip.twelve99.net]
    10 44 ms 93 ms 29 ms 62.115.123.12 [ffm-bb1-link.ip.twelve99.net]
    11 * 39 ms 40 ms 62.115.138.23 [win-bb2-link.ip.twelve99.net]
    12 * 39 ms * 62.115.114.183 [win-b2-link.ip.twelve99.net]
    13 60 ms 58 ms 56 ms 77.77.201.101 [sa-gr-c-1-pc2.telemach.ba]
    14 50 ms * * 89.216.5.228 [bg-tp-r-1-hg7-1.sbb.rs]
    15 * * 50 ms 89.216.5.228 [bg-tp-r-1-hg7-1.sbb.rs]
    16 * * 60 ms 89.216.5.69
    17 * 62 ms 61 ms 77.77.197.97 [sa-gr-c-1-pc1.telemach.ba]
    18 * * * Request timed out.
    19 * * * Request timed out.
    20 * * * Request timed out.
    21 * * * Request timed out.
    22 *
    Terminate Event Occurred.

equally, from https://traceroute-online.com in the USA
    Hop Hostname IP AS Network Country Avg (ms)
    1 10.204.3.49 10.204.3.49
    2 10.204.35.11 10.204.35.11
    3 10.204.32.2 10.204.32.2
    4 lo0-0.gw4.atl1.us.linode.com 74.207.239.106 AKAMAI-LINODE-AP Akamai Connected Cloud, SG 74.207.224.0/20
    5 he.tieatl.telx.com 206.126.110.75
    6 ve950.core2.orf2.he.net 184.104.198.18 HURRICANE, US 184.104.0.0/15
    7 port-channel9.core1.par3.he.net 184.104.188.214 HURRICANE, US 184.104.0.0/15
    8 ??? ???
    9 100ge0-67.core2.vie1.he.net 184.105.65.6 HURRICANE, US 184.104.0.0/15
    10 telemach-d-o-o.e0-66.core2.vie1.he.net 184.104.200.6 HURRICANE, US 184.104.200.0/21
    11 185-66-148-25.static.telemach.net 185.66.148.25 TELEMACH Broadband Access & Carrier Services, SI 185.66.148.0/22
    12 213-161-1-170.static.telemach.net 213.161.1.170 TELEMACH Broadband Access & Carrier Services, SI 213.161.0.0/19
    13 sa-gr-c-1-pc1.telemach.ba 77.77.197.97 BA-TELEMACH-AS Telemach d.o.o. Sarajevo, BA 77.77.192.0/18
    14 ??? ???

I'm guessing you've some sort of firewall dropping connection requests.
Back to top
amka



Joined: 19 Apr 2025
Posts: 2

PostPosted: Sun 20 Apr '25 8:20    Post subject: Reply with quote

Hi,

I found my mistake, thank you !

Very Happy
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7404
Location: EU, Germany, Next to Hamburg

PostPosted: Tue 22 Apr '25 8:58    Post subject: Reply with quote

amka wrote:
Hi,

I found my mistake, thank you !

Very Happy


How did you solve it?
Back to top


Reply to topic   Topic: Apache not responding View previous topic :: View next topic
Post new topic   Forum Index -> Apache