# Headless Gateway Port setting

**URL:** <https://forum.inductiveautomation.com/t/headless-gateway-port-setting/2772>\
**Category:** Ignition\
**Created:** [March 17, 2011, 12:56pm UTC](https://forum.inductiveautomation.com/t/headless-gateway-port-setting/2772 "2011-03-17T12:56:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [March 17, 2011, 12:56pm UTC](https://forum.inductiveautomation.com/t/headless-gateway-port-setting/2772/1 "2011-03-17T12:56:49Z")

</div>

On a headless system not using the GCU. I have seen reference to editing 2 different files to change the port.

\Ignition\config.xml  
\Ignition\tomcat\webapps\ctx0\WEB-INF\web.xml

I got it working editing the config.xml( changing the web.xml did not work). Am wondering what the web.xml is used for.

Does the GCU just edit the config.xml file? or others also?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [March 17, 2011, 3:21pm UTC](https://forum.inductiveautomation.com/t/headless-gateway-port-setting/2772/2 "2011-03-17T15:21:32Z")

</div>

Yes, you just want to edit the config.xml. It is the only file containing the port. The GCU does alter this setting. The web.xml is a file describing the servlets we use for the Ignition Gateway. You don’t want to edit that file.

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [March 18, 2011, 3:22pm UTC](https://forum.inductiveautomation.com/t/headless-gateway-port-setting/2772/3 "2011-03-18T15:22:28Z")

</div>

![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")
