# Access to Ignition Gateway web server goes to Apache page from localhost, goes to Ignition web server from remote host

**URL:** <https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608>\
**Category:** Ignition\
**Created:** [September 3, 2021, 4:55pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608 "2021-09-03T16:55:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mesham](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mesham](https://forum.inductiveautomation.com/u/mesham)\
**Post date:** [September 3, 2021, 4:55pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/1 "2021-09-03T16:55:45Z")

</div>

Hey all,

When I try to access the Ignition Gateway web server from the computer that the Gateway is installed on (localhost), I get directed to the Apache2 default page. However, when I try to access that same Gateway web server from another computer, it takes me to the web server as expected.

Anyone know what would cause this behavior?

Running 8.1.9 on Ubuntu

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 3, 2021, 5:08pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/2 "2021-09-03T17:08:25Z")

</div>

What port are you trying to access locally and remotely?

Ignition doesn’t even use Apache HTTP server, so you must have that installed and running on your server.

---

<div class="post-metadata">

**Author:** ![mesham](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mesham](https://forum.inductiveautomation.com/u/mesham)\
**Post date:** [September 3, 2021, 7:26pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/3 "2021-09-03T19:26:12Z")

</div>

Ports are the same both locally and remotely… 80 and 443.

So if I uninstall Apache on the server Ignition should still run?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 3, 2021, 7:27pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/4 "2021-09-03T19:27:00Z")

</div>

Yeah.

When you installed Ignition did you configure it to use 80 and 443 instead of the default 8088 and 8043?

---

<div class="post-metadata">

**Author:** ![mesham](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mesham](https://forum.inductiveautomation.com/u/mesham)\
**Post date:** [September 3, 2021, 7:28pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/5 "2021-09-03T19:28:40Z")

</div>

Yes, Ignition is configured to use 80 and 443.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 3, 2021, 7:29pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/6 "2021-09-03T19:29:40Z")

</div>

That usually doesn’t work on Linux unless you’re running as root, though something must be working if you were able to access the gateway at all like you said.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 3, 2021, 8:01pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/7 "2021-09-03T20:01:13Z")

</div>

You might have `iptables` or something set up to redirect from a remote interface. It’s really hard to say without seeing your actual environment.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 3, 2021, 8:22pm UTC](https://forum.inductiveautomation.com/t/access-to-ignition-gateway-web-server-goes-to-apache-page-from-localhost-goes-to-ignition-web-server-from-remote-host/50608/8 "2021-09-03T20:22:08Z")

</div>

> [@Kevin.Herron](#):
>
> That usually doesn’t work on Linux unless you’re running as root

Easy fix without root:

> [@Change port in gateway(webserver ) port failed](https://forum.inductiveautomation.com/t/change-port-in-gateway-webserver-port-failed/41559/5):
>
> If you are running a modern version of Linux with SystemD, you can add the following as an override to enable low-number ports without root: [Service] AmbientCapabilities=CAP\_NET\_BIND\_SERVICE
