🎥 Make videos programmatically with React
improve docs for "setPort()"
Jonny Burger1dac54a95df8
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.mdindex db40161acf..e0503d8b1f 100644--- a/packages/docs/docs/config.md+++ b/packages/docs/docs/config.md@@ -57,10 +57,15 @@ The [command line flag](/docs/cli/render#--bundle-cache) `--bundle-cache` will t### setPort()-Define on which port Remotion should start it's HTTP servers during preview and rendering.+Define on which port Remotion should start it's HTTP servers.By default, Remotion will try to find a free port.If you specify a port, but it's not available, Remotion will throw an error.+:::note+When the [Remotion Preview](/docs/terminology#remotion-preview), a server will be started to host the Preview.+During rendering, a HTTP server is also started in the background to serve the Webpack [bundle](/docs/terminology#bundle).+:::+```ts twoslashimport { Config } from "remotion";// ---cut---