Bot Framework Emulator - How to force the emulator to use a specific port

542 Views Asked by At

Each time I run the Bot Framework Emulator it spins it up with a new port number.

How do I force the emulator to always use a specific port each time the app is opened?

Reason: We are connecting from a UI to the emulator using a URL which is working perfectly (in the case above, http://localhost:55583) but we can't have to keep changing the source code of our UI to the new port number each time we open the emulator.

Please help, this has been driving me insane.

1

There are 1 best solutions below

3
On BEST ANSWER

There is no way to do this currently (as @matt-stannett pointed out).

You can clone the repo, make changes and build your own.

Additionally; please file a enhancement/DCR in the emulator repo if so desired.