Unable to connect to 80/443 from outside network

Issues related to configuring your network
Post Reply
Eniax
Posts: 6
Joined: 2018/07/12 00:59:42

Unable to connect to 80/443 from outside network

Post by Eniax » 2018/07/12 01:11:08

This may be due to another issue in the supply chain, but I'm hoping to rule out my CentOS config here.

I've got CentOS 7 with apache configure and installed properly, and am able to connect to my website via IP within the network (or via VPN).

firewall-cmd is configured to the public (default) domain and is on the proper network interface.

firewall-cmd also has http/https services (but not the ports as i understand this is redundant. enabling ports didn't change it anyway) enabled in the permanent configuration. masquerading is enabled so that the VPN can work.

Code: Select all

  public (active)
  target: default
  icmp-block-inversion: no
  interfaces: enp0s25
  sources: 
  services: ssh dhcpv6-client http https openvpn nfs mountd rpc-bind mysql
  ports: 3306/tcp
  protocols: 
  masquerade: yes
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
I've got goDaddy successfully pointing to the public IP, but still it times out. Router has 80 and 443 forwarded to the proper IP.

What am I missing?

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to connect to 80/443 from outside network

Post by TrevorH » 2018/07/12 01:50:58

If you are on a domestic connection then many ISPs block server ports like 80/443 before traffic hits your connection. The other possibility is that you haven't forwarded the ports on correctly from your router.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Unable to connect to 80/443 from outside network

Post by hunter86_bg » 2018/07/12 16:48:56

Doesn't 'mysql' service include '3306/tcp' ?

Post Reply