# Changing the port of an ECS deployment

**URL:** <https://discuss.hashicorp.com/t/changing-the-port-of-an-ecs-deployment/16241>\
**Category:** Waypoint\
**Created:** [October 19, 2020, 3:11pm UTC](https://discuss.hashicorp.com/t/changing-the-port-of-an-ecs-deployment/16241 "2020-10-19T15:11:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbamber](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/mbamber/32/13509_2.png) [@mbamber](https://discuss.hashicorp.com/u/mbamber)\
**Post date:** [October 19, 2020, 3:11pm UTC](https://discuss.hashicorp.com/t/changing-the-port-of-an-ecs-deployment/16241/1 "2020-10-19T15:11:29Z")

</div>

I might be missing something here, but I can’t seem to change the port that my app runs on when using the `aws-ecs` plugin for deployment.

I understand I can supply an ARN of an ALB listener, but how would I go about changing the security groups on the created ENI for example?

TIA

---

<div class="post-metadata">

**Author:** ![jritsema](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/jritsema/32/13366_2.png) [@jritsema](https://discuss.hashicorp.com/u/jritsema)\
**Post date:** [October 19, 2020, 7:13pm UTC](https://discuss.hashicorp.com/t/changing-the-port-of-an-ecs-deployment/16241/2 "2020-10-19T19:13:03Z")

</div>

I’ve noticed this as well. Looking at the source, it appears to be hard-coded.

> <https://github.com/hashicorp/waypoint/blob/main/builtin/aws/ecs/platform.go#L553>

---

<div class="post-metadata">

**Author:** ![evanphx](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/evanphx/32/13217_2.png) [@evanphx](https://discuss.hashicorp.com/u/evanphx)\
**Post date:** [October 20, 2020, 4:54pm UTC](https://discuss.hashicorp.com/t/changing-the-port-of-an-ecs-deployment/16241/3 "2020-10-20T16:54:29Z")

</div>

Yeah, we meant to make that be an optional configuration option, but looks like didn’t make it into 0.1. Feel free to open a GithHub PR/Issue or we we’ll get to it shortly too.

---

<div class="post-metadata">

**Author:** ![codyde](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/codyde/32/5368_2.png) [@codyde](https://discuss.hashicorp.com/u/codyde)\
**Post date:** [October 22, 2020, 8:11am UTC](https://discuss.hashicorp.com/t/changing-the-port-of-an-ecs-deployment/16241/4 "2020-10-22T08:11:17Z")

</div>

Hi Mbamber!

Following up on this - we merged a PR today that enables users to change the listening port for ECS. You can see that PR here if you are curious - [PR 661](https://github.com/hashicorp/waypoint/pull/661).

Sorry again for missing this on the initial release. This capability will officially be included on the next release we cut. Stay tuned!
