# Locked out of local gateway

**URL:** <https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385>\
**Category:** Ignition\
**Created:** [March 12, 2021, 12:22am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385 "2021-03-12T00:22:07Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 12, 2021, 12:22am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/1 "2021-03-12T00:22:07Z")

</div>

I restored a backup from a customer site gateway locally as I overwrote some windows accidentally.  
However I cannot login to it locally as the local gateway cannot verify my login info. Reason being Active Directory authentication was used in the customer site, I noticed in the wrapper log files, it failed to connect to LDAP server  
Now I can’t even restore any other backup since I am locked out. Is there any way to access the local gateway ? Or Is uninstalling/reinstalling Ignition locally my only option ?

---

<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:** [March 12, 2021, 12:23am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/2 "2021-03-12T00:23:36Z")

</div>

You can reset the password using the GCU or gwcmd depending on what version of Ignition you are using.

[https://docs.inductiveautomation.com/display/DOC81/Gateway+Command-line+Utility+-+gwcmd](https://docs.inductiveautomation.com/display/DOC81/Gateway+Command-line+Utility+-+gwcmd)

---

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 12, 2021, 1:16am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/3 "2021-03-12T01:16:46Z")

</div>

@Kevin.Herron  
Thanks for the quick reply. I can access the gateway now after password reset  
However it gives me a connect error when I try to launch Designer  
ConnectionException: Connection Refused  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/9/5975617df3fa2e1973d39d6c9aa569d43dc5a9f9.png)

---

<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:** [March 12, 2021, 1:41am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/4 "2021-03-12T01:41:21Z")

</div>

What version of Ignition are you using? The Public HTTP Address setting for the gateway may be set to something you can’t resolve locally.

---

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 12, 2021, 1:53am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/5 "2021-03-12T01:53:18Z")

</div>

8.1.3

---

<div class="post-metadata">

**Author:** ![jimender2](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jimender2](https://forum.inductiveautomation.com/u/jimender2)\
**Post date:** [March 12, 2021, 3:36am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/6 "2021-03-12T03:36:32Z")

</div>

Another thing that may be set is the https/ssl certification. I had this happen a few months ago where we were using http/https and it was not letting us in when we had bad certs.

---

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 12, 2021, 6:37am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/7 "2021-03-12T06:37:23Z")

</div>

that seems to be greyed out for me, its enabled though

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/3/934dbc712ccef7f93fa0df305141a3397a4c9449.png)

---

<div class="post-metadata">

**Author:** ![jimender2](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jimender2](https://forum.inductiveautomation.com/u/jimender2)\
**Post date:** [March 12, 2021, 12:32pm UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/8 "2021-03-12T12:32:58Z")

</div>

So it appears that it is enabled and the designer wants to connect through the https port. The easiest thing to do is to stop your gateway, edit the https stuff in the ignition.conf file to remove it, then start the gateway again. I dont have a gateway right in front of me to pull the conf file and post it here so I cant post an example right now.

---

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 13, 2021, 12:52am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/9 "2021-03-13T00:52:25Z")

</div>

[ignition.txt](https://forum.inductiveautomation.com/uploads/short-url/ftOxcM8vQBvk0U6vsgreN4Lko6E.txt) (8.2 KB)

I tried searching for https in the conf file, but had no luck. I have uploaded the conf file to this reply

---

<div class="post-metadata">

**Author:** ![jimender2](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jimender2](https://forum.inductiveautomation.com/u/jimender2)\
**Post date:** [March 13, 2021, 11:53pm UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/10 "2021-03-13T23:53:26Z")

</div>

@indra.biswas My bad on the file. I was thinking of the file gateway.xml in the ignition data folder but mixed them file names 🙂 I guess I should double check my work.

Make sure the lines in that file are similar to this. I had issues with my designer / client not wanting to connect (though the web portal was fine) and when I called support, this is what they had to change.

true  
  
false

---

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 14, 2021, 12:39am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/11 "2021-03-14T00:39:00Z")

</div>

@jimender2  
you da man. i can connect now  
the entry to be updated was  
gateway.forceSecureRedirect  
to true.

---

<div class="post-metadata">

**Author:** ![jimender2](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jimender2](https://forum.inductiveautomation.com/u/jimender2)\
**Post date:** [March 14, 2021, 12:48am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/12 "2021-03-14T00:48:45Z")

</div>

@indra.biswas Glad I was able to help.

---

<div class="post-metadata">

**Author:** ![nicholas.robinson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nicholas.robinson/32/22188_2.png) [@nicholas.robinson](https://forum.inductiveautomation.com/u/nicholas.robinson)\
**Post date:** [January 5, 2022, 2:57am UTC](https://forum.inductiveautomation.com/t/locked-out-of-local-gateway/44385/13 "2022-01-05T02:57:36Z")

</div>

Guys, we used this post today. It helped us get out of a pinch. Thanks for sharing.

One caveat is that depending on your companies security policy, you may need to modify the read write permissions of the file in order to be able to modify it (in our case yes)

Nick
