search

Home  >  Q&A  >  body text

centos7 - centos 7 apache cannot connect to the LAN after adding virtual IP

centos 7 apache cannot connect to the local area network after adding the virtual ip, but can connect locally

ipconfig eth0:0 192.168.1.10 has also been set

The current machine can be connected, but the LAN cannot be connected

ringa_leeringa_lee2745 days ago946

reply all(3)I'll reply

  • 滿天的星座

    滿天的星座2017-05-16 17:00:12

    Check the firewall configuration to see if port 80 is allowed

    reply
    0
  • ringa_lee

    ringa_lee2017-05-16 17:00:12

    Open the port. The default is 80. If configured, open the corresponding port according to your configuration

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-16 17:00:12

    The problem has been solved. After adding a new IP in httpd.conf, you need to add a virtual IP ipcofing eth0:0 ip address

    reply
    0
  • Cancelreply