Can not access port 80 after wordpress installation

Issues related to configuring your network
Post Reply
angelosn
Posts: 19
Joined: 2016/10/16 07:51:45

Can not access port 80 after wordpress installation

Post by angelosn » 2019/06/21 11:15:56

Hello,
I am running a Centos 7 on virtualbox. I set LAMP and I open firewall http https and port forward my router so I could see it from outside my local network. I also have a dynamic dns (no ip) and it worked great so I installed wordpress.
Everything was ok from my local network and I customized my site. The next day I tried to hit it from outside but no luck.
my ddns is whynotwork.ddns.net and the local address is 192.168.2.4.
When I try the FQDN it returns the local IP with the ERR_CONNECTION_TIMED_OUT.

I reset my VM and after installation of wordpress (the moment I hit the address and show me the wizard) I was able to access it from outside and set it up but locally was so slow.

Code: Select all

[root@localhost ~]# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s3
  sources:
  services: ssh dhcpv6-client http https
  ports: 80/tcp
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
I added port 80/tcp but it is the same with the http service I guess.

Code: Select all

[root@localhost ~]# netstat -tuna
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0     36 192.168.2.4:22          other:1987       ESTABLISHED
tcp6       0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 ::1:25                  :::*                    LISTEN
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 127.0.0.1:323           0.0.0.0:*
udp6       0      0 ::1:323                 :::*
What is seem strange to me is that the 80 port is listening to tcp6. I do not now if it is normal.

SSH still works no problem.
I do not know what else to check. Any ideas?

EDIT1: I set another Vm and install wordpress from internet. You can access it from whynotwork.ddns.net:12345

Post Reply