Ubuntu +Apache doesn't work on port 80 -
i have problems apache (os ubuntu). reasons apache doesn't work on port 80.
for settings: etc/apache2/ports.conf
listen 80  <ifmodule ssl_module>     listen 443 </ifmodule>  <ifmodule mod_gnutls.c>     listen 443 </ifmodule>   etc/apache2/000-default.conf
<virtualhost *:80>     serveradmin webmaster@localhost     documentroot /var/www/html </virtualhost>   netstat. try connect "my_server_ip" or "my_server_ip:80" browser "connection closed"
if change port 8080(for example) try connect "my_server_ip:8080" it's work fine , see default apache page.
settings: etc/apache2/ports.conf
listen 8080  <ifmodule ssl_module>     listen 443 </ifmodule>  <ifmodule mod_gnutls.c>     listen 443 </ifmodule>   etc/apache2/000-default.conf
<virtualhost *:8080>         serveradmin webmaster@localhost         documentroot /var/www/html     </virtualhost>         
 
  
Comments
Post a Comment