# Change default ports of nakama i-e 7348, 7349, 7350, 7351

**URL:** <https://forum.heroiclabs.com/t/change-default-ports-of-nakama-i-e-7348-7349-7350-7351/1629>\
**Category:** Local Setup\
**Tags:** getting-started\
**Created:** [May 10, 2021, 6:34pm UTC](https://forum.heroiclabs.com/t/change-default-ports-of-nakama-i-e-7348-7349-7350-7351/1629 "2021-05-10T18:34:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FaiziiGo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/faiziigo/32/578_2.png) [@FaiziiGo](https://forum.heroiclabs.com/u/FaiziiGo)\
**Post date:** [May 10, 2021, 6:34pm UTC](https://forum.heroiclabs.com/t/change-default-ports-of-nakama-i-e-7348-7349-7350-7351/1629/1 "2021-05-10T18:34:03Z")

</div>

when I docker-compose i get this

> nakama\_1 | {“level”:“info”,“ts”:“2021-05-10T18:23:33.687Z”,“caller”:“server/api.go:129”,“msg”:“Starting API server for gRPC requests”,“port”:7349}  
> nakama\_1 | {“level”:“info”,“ts”:“2021-05-10T18:23:33.698Z”,“caller”:“server/api.go:263”,“msg”:“Starting API server gateway for HTTP requests”,“port”:7350}  
> nakama\_1 | {“level”:“info”,“ts”:“2021-05-10T18:23:33.709Z”,“caller”:“server/console.go:125”,“msg”:“Starting Console server for gRPC requests”,“port”:7348}  
> nakama\_1 | {“level”:“info”,“ts”:“2021-05-10T18:23:33.713Z”,“caller”:“server/console.go:215”,“msg”:“Starting Console server gateway for HTTP requests”,“port”:7351}  
> nakama\_1 | {“level”:“info”,“ts”:“2021-05-10T18:23:34.091Z”,“caller”:“main.go:173”,“msg”:“Startup done”}

in docker-compose.yml file

> nakama:  
> image: heroiclabs/nakama:3.1.1  
> entrypoint:  
> - “/bin/sh”  
> - “-ecx”  
> - \>  
> /nakama/nakama migrate up --database.address root@cockroachdb:26258 &&  
> exec /nakama/nakama --name nakama12 --database.address root@cockroachdb:26258 --logger.level DEBUG --session.token\_expiry\_sec 7200 --metrics.prometheus\_port 9400  
> restart: always  
> links:  
> - “cockroachdb:db1”  
> depends\_on:  
> - cockroachdb  
> - prometheus  
> volumes:  
> - ./nakama/data:/nakama/data  
> expose:  
> - “7449”  
> - “7450”  
> - “7451”  
> - “9400”  
> ports:  
> - “7449:7449”  
> - “7450:7450”  
> - “7451:7451”

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [May 10, 2021, 10:04pm UTC](https://forum.heroiclabs.com/t/change-default-ports-of-nakama-i-e-7348-7349-7350-7351/1629/2 "2021-05-10T22:04:14Z")

</div>

Hi @FaiziiGo welcome 👋

I’m not sure what your question is but have a look at the [configuration page](https://heroiclabs.com/docs/install-configuration/) for how to change settings on the server.
