I am trying to run : netstat -tulpn | grep LISTEN
It gives me this :
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1487/sshd
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1501/mysqld
tcp6 0 0 :::22 :::* LISTEN 1487/sshd
Unfortunately, port 80 is not visible in this list. I don't know why, I am using Droplates and Ubuntu web server.
When I try to run : telnet 80
I got this problem : Trying ... telnet: Unable to connect to remote host: Connection refused
I am stuck and my site is not working, will anyone help me, please.
Thank You.
First try netstat -tunlp | grep ":80 ". If you can't see httpd/apache, you should check the logs of your machine for errors. Try systemctl status httpd or systemctl status apache2, to see the status of the service.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.