Files
flipper/docs/custom-ports.md
Lawrence Lomax 5b2f100943 Use shell - su chaining for 1-command of flipper.port
Summary: Makes the command easier as this is a one-liner

Reviewed By: passy

Differential Revision: D13878049

fbshipit-source-id: 99477939e51524234ae06c42687ae3a2db31211e
2019-01-31 03:49:53 -08:00

749 B

id, title, sidebar_label
id title sidebar_label
custom-ports Running Flipper with different ports Using different ports

By default Flipper runs its servers on ports 8088 and 8089, and the mobile SDKs look for servers on those ports.

Each of these can be overridden by setting an environment variable, with the format ${INSECURE_PORT},${SECURE_PORT}.

To run the desktop app using custom ports:

FLIPPER_PORTS=1111,2222 ./flipper

To configure the Android SDK for custom ports, set the flipper.ports prop to your chosen ports 1111,2222 like so, and then launch the Android app.

adb shell su 0 setprop flipper.ports 1111,2222

To configure the iOS SDK for custom ports, set the FLIPPER_PORTS environment variable in your app launch script.