Skip to content

Commit a23da66

Browse files
committed
Update README with optional port configuration for Foundry Local
1 parent acb48ad commit a23da66

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

04-PracticalSamples/foundrylocal/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,11 @@ To set up Foundry Local, follow these steps:
231231
```bash
232232
foundry service status
233233
```
234+
235+
**Optional**: If you prefer to use a specific port (e.g., 5273), you can configure it manually:
236+
```bash
237+
foundry service set --port 5273
238+
```
234239
235240
3. **Download the AI model** you want to use, for example, `phi-3.5-mini`, with the following command:
236241
```bash
@@ -279,6 +284,7 @@ For more examples, see [Chapter 04: Practical samples](../README.md)
279284
- Make sure Foundry Local is running: `foundry model list`
280285
- Check the actual port Foundry Local is using: `foundry service status`
281286
- Update your `application.properties` with the correct port from the status command
287+
- Alternatively, set a specific port if desired: `foundry service set --port 5273`
282288
- Try restarting Foundry Local: `foundry model run phi-3.5-mini`
283289
284290
**"Model not found" errors**

0 commit comments

Comments
 (0)