# Made a mistake changing http/https ports and now gateway will not start

**URL:** <https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096>\
**Category:** Ignition\
**Tags:** ignition81, vision, perspective\
**Created:** [May 29, 2024, 6:34pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096 "2024-05-29T18:34:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwkidd](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@cwkidd](https://forum.inductiveautomation.com/u/cwkidd)\
**Post date:** [May 29, 2024, 6:34pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/1 "2024-05-29T18:34:09Z")

</div>

Below is the wrapper logs...I think I know what the issue is, but I don't know how to fix it. I used 443 and 80 for the https/http port respectively...not thinking about other processes (stupid, I know). I don't really know HOW to fix it, though?

```python
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:443
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:304)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at org.eclipse.jetty.server.Server.lambda$doStart$0(Server.java:402)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at org.eclipse.jetty.server.Server.doStart(Server.java:398)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at com.inductiveautomation.catapult.IgnitionServer.start(IgnitionServer.java:1281)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at com.inductiveautomation.ignition.gateway.web.WebResourceManagerImpl.start(WebResourceManagerImpl.java:353)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at com.inductiveautomation.ignition.gateway.IgnitionGateway.start(IgnitionGateway.java:576)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at com.inductiveautomation.ignition.gateway.IgnitionGateway.main(IgnitionGateway.java:303)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at com.inductiveautomation.catapult.Catapult.main(Catapult.java:8)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:349)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: Caused by: java.net.BindException: Address already in use: bind
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/sun.nio.ch.Net.bind0(Native Method)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/sun.nio.ch.Net.bind(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339)
INFO | jvm 1 | 2024/05/29 14:17:58 | WrapperSimpleApp Error: ... 25 more
STATUS | wrapper | 2024/05/29 14:18:01 | <-- Wrapper Stopped

```

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [May 29, 2024, 6:35pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/2 "2024-05-29T18:35:57Z")

</div>

```python
|-k,--port <new port>|Changes the Gateway http port.|
|---|---|
|-l,--sslport <new port>|Changes the Gateway https port.|

```

> **[Gateway Command-line Utility - gwcmd | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/platform/gateway/gateway-command-line-utility-gwcmd#command-line-utility-gwcmd-options)**
>
> The Gateway Command-line Utility provides a list of commands you can use to perform specific functions in the Gateway. The Gateway Command-line Utility or gwcmd provides basic commands, such as resetting the main password, changing the Gateway's...

---

<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:** [May 29, 2024, 6:36pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/3 "2024-05-29T18:36:07Z")

</div>

> [@cwkidd](#):
>
> `Caused by: java.net.BindException: Address already in use: bind`

Some other service is using the standard ports. Another Ignition instance, perhaps? IIS on Windows?

---

<div class="post-metadata">

**Author:** ![cwkidd](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@cwkidd](https://forum.inductiveautomation.com/u/cwkidd)\
**Post date:** [May 29, 2024, 6:49pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/4 "2024-05-29T18:49:59Z")

</div>

I've tried those, but they don't work. I get a "no response from the gateway" message.

---

<div class="post-metadata">

**Author:** ![cwkidd](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@cwkidd](https://forum.inductiveautomation.com/u/cwkidd)\
**Post date:** [May 29, 2024, 6:51pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/5 "2024-05-29T18:51:28Z")

</div>

It was IIS...I was certain I disabled that and it looks like I was wrong. Thank you for making me double check!

---

<div class="post-metadata">

**Author:** ![richard.simpson](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@richard.simpson](https://forum.inductiveautomation.com/u/richard.simpson)\
**Post date:** [October 31, 2025, 11:50am UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/6 "2025-10-31T11:50:41Z")

</div>

I realize this thread is a bit old. However, I have a similar problem. I have an application that is running on port 8088 that I would prefer to not shut down (others are using it) and would like to determine if there is a method to change ports without the gateway running.

I have looked through some of Inductive’s manuals and videos and seem to be missing where this could be done. The gateway in question is being run on a remote linux machine with no GUI.

---

<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:** [October 31, 2025, 11:56am UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/7 "2025-10-31T11:56:46Z")

</div>

Use the `gwcmd` command line utility.

---

<div class="post-metadata">

**Author:** ![richard.simpson](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@richard.simpson](https://forum.inductiveautomation.com/u/richard.simpson)\
**Post date:** [October 31, 2025, 12:13pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/8 "2025-10-31T12:13:07Z")

</div>

Similar to cwkidd, when I attempt to use the gwcmd utility when the gateway is down, because it can’t bind the port, it just says no response from the gateway.

I am looking for a way to change the port that the gateway is attempting to bind without the gateway being run. Is this just not possible?

---

<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:** [October 31, 2025, 12:20pm UTC](https://forum.inductiveautomation.com/t/made-a-mistake-changing-http-https-ports-and-now-gateway-will-not-start/91096/9 "2025-10-31T12:20:18Z")

</div>

You can edit the gateway.xml file at `$IGNITION/data/gateway.xml` if the Gateway isn't running and you can't use the `gwcmd` util.
