Summary: Docusaurus 2 is quite a lot more powerful than docu 1 it turns out. This should convert the website fully. * [done] Go through migration guide https://v2.docusaurus.io/docs/migrating-from-v1-to-v2 * [done] Convert landing page html * [done] Convert all images to img tags * [done] Convert all .md files to .mdx * [done] Make sure ui-doc generation and including still works * [done] Scan every page visually for sanity check * [done] Make sure footer still works * [done] Make sure search still works * [done] Change all links/ to links/index * [done] Change all links.md to links * [done] Add some custom css to make the navbar look like the old one and darken the footer. Reviewed By: passy Differential Revision: D21158717 fbshipit-source-id: 5f45b711b1b6fd5ece4c5c15c55635c7ebbfb568
24 lines
749 B
Plaintext
24 lines
749 B
Plaintext
---
|
|
id: custom-ports
|
|
title: Running Flipper with different ports
|
|
sidebar_label: 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.
|