# Port setting with the API

**URL:** https://qa.fmod.com/t/port-setting-with-the-api/18201
**Category:** FMOD Engine
**Created:** [January 10, 2022, 9:17pm UTC](https://qa.fmod.com/t/port-setting-with-the-api/18201 "2022-01-10T21:17:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tb-ktracing](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@tb-ktracing](https://qa.fmod.com/u/tb-ktracing)
#### Post date: [January 10, 2022, 9:17pm UTC](https://qa.fmod.com/t/port-setting-with-the-api/18201/1 "2022-01-10T21:17:45Z")

</div>

Hello,  
Is it possible to set the liveupdate port within the api (in case of 2 audio engine instances) with a different number than the default one?

Thibault

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [January 10, 2022, 9:56pm UTC](https://qa.fmod.com/t/port-setting-with-the-api/18201/2 "2022-01-10T21:56:49Z")

</div>

Before initializing the Studio System object, call [System::setAdvancedSettings](https://fmod.com/resources/documentation-api?version=2.02&page=core-api-system.html#system_setadvancedsettings) with a cleared FMOD\_ADVANCED\_SETTINGS struct, set the cbsize to sizeof(FMOD\_ADVANCED\_SETTINGS) and the [profileport](https://fmod.com/resources/documentation-api?version=2.02&page=core-api-system.html#fmod_advancedsettings_profileport) to the desired port number.
