port 80 curl connection refused.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I can ping the DNS IP.
 
I have done just setup a fresh install of apache2 on ubuntu 20.04
http://localhost is ok
port 80 is open.
 
sudo ufw status
Status: active
To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere                  
80                         ALLOW       Anywhere                  
22/tcp (v6)                ALLOW       Anywhere (v6)             
80 (v6)                    ALLOW       Anywhere (v6)
 
I followed these instructions a number of occasion just to make sure I am doing it right.
https://ubuntu.com/tutorials/install-and-configure-apache#3-creating-your-own-website
I have two different  virtual hosts setup in the apache2 configuration.
 
I have not overlooked these directions. I do have a DNS IP.
https://httpd.apache.org/docs/2.4/vhosts/examples.html

Note

Creating virtual host configurations on your Apache server does not magically cause DNS entries to be created for those host names. You must have the names in DNS, resolving to your IP address, or nobody else will be able to see your web site. You can put entries in your hosts file for local testing, but that will work only from the machine with those hosts entries.

 
The browser is unable to connect.
 
and
curl http://123.456.7.543 (example ip address)
curl: (7) Failed to connect to 123.456.7.543 port 80: Connection refused
 
what have a I missed  ?
 
Thanks
 
 
 
 
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux