# I can't change the management port variable

**URL:** <https://forum.genieacs.com/t/i-cant-change-the-management-port-variable/5173>\
**Category:** Uncategorized\
**Created:** [March 10, 2024, 10:28pm UTC](https://forum.genieacs.com/t/i-cant-change-the-management-port-variable/5173 "2024-03-10T22:28:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielOliveira](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@GabrielOliveira](https://forum.genieacs.com/u/GabrielOliveira)\
**Post date:** [March 10, 2024, 10:28pm UTC](https://forum.genieacs.com/t/i-cant-change-the-management-port-variable/5173/1 "2024-03-10T22:28:18Z")

</div>

I’m struggling to modify the CWMP\_PORT (default is 7547). I’m using CentOS 7, but I can’t seem to find the ‘config.json’ folder, even with commands like find or locate. I accessed the directory ‘/etc/genieacs/genieacs.env’ and inserted the command ‘CWMP\_PORT=7550’, but I suspect it’s completely wrong. Can anyone assist me?

---

<div class="post-metadata">

**Author:** ![GabrielOliveira](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@GabrielOliveira](https://forum.genieacs.com/u/GabrielOliveira)\
**Post date:** [March 11, 2024, 12:38am UTC](https://forum.genieacs.com/t/i-cant-change-the-management-port-variable/5173/2 "2024-03-11T00:38:21Z")

</div>

This command also did not work: export GENIEACS\_CWMP\_PORT=7550

---

<div class="post-metadata">

**Author:** ![GabrielOliveira](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@GabrielOliveira](https://forum.genieacs.com/u/GabrielOliveira)\
**Post date:** [March 11, 2024, 12:43am UTC](https://forum.genieacs.com/t/i-cant-change-the-management-port-variable/5173/3 "2024-03-11T00:43:09Z")

</div>

[tr069@localhost ~]$ echo $GENIEACS\_CWMP\_PORT  
7550  
[tr069@localhost ~]$ netstat -tuln | grep 7550

---

<div class="post-metadata">

**Author:** ![Felipe](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/felipe/32/1949_2.png) [@Felipe](https://forum.genieacs.com/u/Felipe)\
**Post date:** [March 11, 2024, 7:49pm UTC](https://forum.genieacs.com/t/i-cant-change-the-management-port-variable/5173/4 "2024-03-11T19:49:23Z")

</div>

Hi,  
genieacs.env usually need to be in /opt/genieacs/, may you check and update this file and restart the proccess.

---

<div class="post-metadata">

**Author:** ![GabrielOliveira](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@GabrielOliveira](https://forum.genieacs.com/u/GabrielOliveira)\
**Post date:** [March 15, 2024, 6:55pm UTC](https://forum.genieacs.com/t/i-cant-change-the-management-port-variable/5173/5 "2024-03-15T18:55:10Z")

</div>

thx
