# Change Port Headless Linux Install

**URL:** <https://forum.inductiveautomation.com/t/change-port-headless-linux-install/31977>\
**Category:** Ignition\
**Created:** [February 6, 2020, 12:41am UTC](https://forum.inductiveautomation.com/t/change-port-headless-linux-install/31977 "2020-02-06T00:41:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [February 6, 2020, 12:41am UTC](https://forum.inductiveautomation.com/t/change-port-headless-linux-install/31977/1 "2020-02-06T00:41:41Z")

</div>

I am trying to change the port on Ubuntu 18.04

I run

> gwcmd --port 80

and receive the message

> Error! No response from Gateway, http port is unchanged.

Here is what I see in the wrapper log

> INFO | jvm 1 | 2020/02/06 00:34:34 | java.lang.NullPointerException  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at com.inductiveautomation.ignition.gateway.server.WebServerManager.setHttpPort(WebServerManager.java:274)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | I [GcuInterface] [00:34:34]: Received SetWebSettingsRequest  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at com.inductiveautomation.ignition.gateway.web.WebResourceManagerImpl.setHttpPort(WebResourceManagerImpl.java:447)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at com.inductiveautomation.ignition.gateway.GcuInterface.setWebSettings(GcuInterface.java:158)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at com.inductiveautomation.ignition.gateway.GcuInterface.requestReceieved(GcuInterface.java:568)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at com.inductiveautomation.catapult.GcuRequestServer.handleRequest(GcuRequestServer.java:60)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at com.inductiveautomation.catapult.GcuRequestServer$RequestFileMonitor$2.run(GcuRequestServer.java:118)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
> INFO | jvm 1 | 2020/02/06 00:34:34 | at java.base/java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [February 6, 2020, 4:57pm UTC](https://forum.inductiveautomation.com/t/change-port-headless-linux-install/31977/2 "2020-02-06T16:57:27Z")

</div>

found this in the manual

> If using Linux, you may need to alter the file /usr/local/bin/ignition/ignition.sh on line 112 from RUN\_AS\_USER=ubuntu to RUN\_AS\_USER=root. This is because you must be root to bind to a port below 1024.
