CentOS7, WordPress installed, cant connect from another pc

Issues related to applications and software problems
Post Reply
LithiumKid1976
Posts: 21
Joined: 2016/12/15 17:19:21

CentOS7, WordPress installed, cant connect from another pc

Post by LithiumKid1976 » 2018/05/22 16:11:18

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

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: CentOS7, WordPress installed, cant connect from another pc

Post by tunk » 2018/05/22 17:37:56

Have you opened the http/https ports in the firewall?

LithiumKid1976
Posts: 21
Joined: 2016/12/15 17:19:21

Re: CentOS7, WordPress installed, cant connect from another pc

Post by LithiumKid1976 » 2018/05/23 09:45:54

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)

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: CentOS7, WordPress installed, cant connect from another pc

Post by mghe » 2018/05/23 10:30:24

List output of command '# firewall-cmd --list-all'

LithiumKid1976
Posts: 21
Joined: 2016/12/15 17:19:21

Re: CentOS7, WordPress installed, cant connect from another pc

Post by LithiumKid1976 » 2018/05/23 10:55:18

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:

LithiumKid1976
Posts: 21
Joined: 2016/12/15 17:19:21

Re: CentOS7, WordPress installed, cant connect from another pc

Post by LithiumKid1976 » 2018/05/23 16:14:27

this is ok now, i was looking at the wrong permalink.

thanks for your help.

d

Post Reply