Apache service on App Server 1 appears not reachable from the LB host, but it is reachable from the LBR host. Further verification is needed to confirm connectivity from the LB host

No worries!!

Uh oh! Looks like the task was not completed successfully. But it’s Ok. You can try again next time this task is assigned to you.

![](data:image/svg+xml,%3csvg%20width=‘34’%20height=‘34’%20viewBox=‘0%200%2034%2034’%20fill=‘none’%20xmlns=‘http://www.w3.org/2000/svg’><circle%20cx=‘17’%20cy=‘17’%20r=‘17’%20fill=‘%23EF4444’%20fill-opacity=‘0.08’/><circle%20cx=‘16.9999’%20cy=‘17.0004’%20r=‘13.6’%20fill=‘%23EF4444’/><path%20d=‘M21.1391%2013.6941L20.3054%2012.8604L17%2016.1657L13.6946%2012.8604L12.8608%2013.6941L16.1662%2016.9995L12.8608%2020.3049L13.6946%2021.1386L17%2017.8332L20.3054%2021.1386L21.1391%2020.3049L17.8337%2016.9995L21.1391%2013.6941Z’%20fill='white’/%3e%3c/svg%3e)

 - Apache service on App Server 1 is not reachable from LB host

Hi @karshan91

Can you please share the name of the task?

Day 13: IPtables Installation And Configuration

You might see if this guy’s solution is helpful for you.

Day 13: 100 days of Devops

I am getting the below error after doing all steps, can please anyone help me to resolve

No worries!!

Uh oh! Looks like the task was not completed successfully. But it’s Ok. You can
try again next time this task is assigned to you.

  • Apache service on App Server 1 is not reachable from the LB host

============================= test session starts =============================

platform linux – Python 3.9.19, pytest-8.4.2, pluggy-1.6.0
rootdir: /usr/share
plugins: testinfra-10.2.2
collected 1 item

…/usr/share/test_rules.py F
[100%]

================================== FAILURES ===================================

________________________________ test_rules __________________________________

def test_rules():
for app in [“1”, “2”, “3”]:
host = testinfra.get_host(“ssh://root@stapp%s?ssh_args=-o
StrictHostKeyChecking=no” % app)

  cmd = host.run("grep 8084 /etc/sysconfig/iptables")

/usr/share/test_rules.py:6:

/usr/local/lib/python3.9/site-packages/testinfra/host.py:98: in run
return self.backend.run(command, *args, **kwargs)

/usr/local/lib/python3.9/site-packages/testinfra/backend/ssh.py:46: in run
return self.run_ssh(self.get_command(command, *args))

self = <testinfra.backend.ssh.SshBackend object at 0x7f24223a6190>