hi
I have wordpress installed on CentOS.
i can log on locally, and open the word press site successfully.
Its running LAMP stack
I cant remote connect to it from a different PC though, which is what id need to do.
ive tried a few options on line, but still cant figure it out.
can any one suggest what i need to check out?
Thanks
Damien
CentOS7, WordPress installed, cant connect from another pc
-
- Posts: 21
- Joined: 2016/12/15 17:19:21
Re: CentOS7, WordPress installed, cant connect from another pc
Have you opened the http/https ports in the firewall?
-
- Posts: 21
- Joined: 2016/12/15 17:19:21
Re: CentOS7, WordPress installed, cant connect from another pc
i thought i did, here is the result of the lsof command.. does that look right?
lsof -iTCP -sTCP:LISTEN
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cupsd 1663 root 10u IPv6 30868 0t0 TCP localhost:ipp (LISTEN)
cupsd 1663 root 12u IPv4 30869 0t0 TCP localhost:ipp (LISTEN)
sshd 1667 root 3u IPv4 27797 0t0 TCP *:ssh (LISTEN)
sshd 1667 root 4u IPv6 27799 0t0 TCP *:ssh (LISTEN)
httpd 1680 root 4u IPv6 31785 0t0 TCP *:http (LISTEN)
smbd 1696 root 37u IPv6 27576 0t0 TCP *:microsoft-ds (LISTEN)
smbd 1696 root 38u IPv6 27577 0t0 TCP *:netbios-ssn (LISTEN)
smbd 1696 root 39u IPv4 27578 0t0 TCP *:microsoft-ds (LISTEN)
smbd 1696 root 40u IPv4 27579 0t0 TCP *:netbios-ssn (LISTEN)
mysqld 2084 mysql 14u IPv4 31824 0t0 TCP *:mysql (LISTEN)
master 2170 root 14u IPv4 28127 0t0 TCP localhost:smtp (LISTEN)
master 2170 root 15u IPv6 28128 0t0 TCP localhost:smtp (LISTEN)
teamviewe 2212 root 13u IPv4 28342 0t0 TCP localhost:5939 (LISTEN)
httpd 2578 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 2579 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 2582 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 4710 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 4712 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 4713 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 7060 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 8054 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 8055 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 8056 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
lsof -iTCP -sTCP:LISTEN
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cupsd 1663 root 10u IPv6 30868 0t0 TCP localhost:ipp (LISTEN)
cupsd 1663 root 12u IPv4 30869 0t0 TCP localhost:ipp (LISTEN)
sshd 1667 root 3u IPv4 27797 0t0 TCP *:ssh (LISTEN)
sshd 1667 root 4u IPv6 27799 0t0 TCP *:ssh (LISTEN)
httpd 1680 root 4u IPv6 31785 0t0 TCP *:http (LISTEN)
smbd 1696 root 37u IPv6 27576 0t0 TCP *:microsoft-ds (LISTEN)
smbd 1696 root 38u IPv6 27577 0t0 TCP *:netbios-ssn (LISTEN)
smbd 1696 root 39u IPv4 27578 0t0 TCP *:microsoft-ds (LISTEN)
smbd 1696 root 40u IPv4 27579 0t0 TCP *:netbios-ssn (LISTEN)
mysqld 2084 mysql 14u IPv4 31824 0t0 TCP *:mysql (LISTEN)
master 2170 root 14u IPv4 28127 0t0 TCP localhost:smtp (LISTEN)
master 2170 root 15u IPv6 28128 0t0 TCP localhost:smtp (LISTEN)
teamviewe 2212 root 13u IPv4 28342 0t0 TCP localhost:5939 (LISTEN)
httpd 2578 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 2579 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 2582 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 4710 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 4712 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 4713 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 7060 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 8054 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 8055 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
httpd 8056 apache 4u IPv6 31785 0t0 TCP *:http (LISTEN)
Re: CentOS7, WordPress installed, cant connect from another pc
List output of command '# firewall-cmd --list-all'
-
- Posts: 21
- Joined: 2016/12/15 17:19:21
Re: CentOS7, WordPress installed, cant connect from another pc
hi
here is the output of firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: p8p1
sources:
services: dhcpv6-client ssh http https
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
here is the output of firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: p8p1
sources:
services: dhcpv6-client ssh http https
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
-
- Posts: 21
- Joined: 2016/12/15 17:19:21
Re: CentOS7, WordPress installed, cant connect from another pc
this is ok now, i was looking at the wrong permalink.
thanks for your help.
d
thanks for your help.
d