# Replit — Advanced port configuration

- Company: Replit (replit.com)
- Announced: 2024-04-05T15:00:00+00:00
- Category: capability-change
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://replit.com/blog/ports
- Record: https://forck.live/items/17999-advanced-port-configuration
- Subject: Replit Agent

Replit introduced explicit port mappings stored in the .replit config file, replacing the previous automatic forwarding of the first open port. This change makes port assignments predictable and persistent, enabling users to run multiple services in the same Repl and ensuring forked projects work identically.

## Evidence

Verbatim from https://replit.com/blog/ports:

> The first thing we changed is that we made ports much more predictable. Instead of arbitrarily assigning an available port to the first open port, we assign an external port mapping permanently when a port is opened in the Repl.

---

Record: https://forck.live/items/17999-advanced-port-configuration
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
