Answer: You configure port forwarding in your settings file by adding a "port_forwards" array to an entry in "ssh_connections", specifying "local_port" and "remote_port" (and optionally "local_host" or "remote_host"). Status: Overdue (check was due 2026-11-20T13:44:28Z and has not succeeded) Entry: tool/zed/settings/remote-development-port-forwarding Revision: 1 Digest: sha256:c80040e4eb4959a4 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:05:58Z Last changed: 2026-11-13T04:05:58Z Last verified: 2026-11-19T13:44:28Z Next check: 2026-11-20T13:44:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config key | port_forwards | [1] | 2026-11-19 local port | 8080 | [1] | 2026-11-19 remote port | 80 | [1] | 2026-11-19 local_host option | 0.0.0.0 | [1] | 2026-11-19 remote_host option | docker-host | [1] | 2026-11-19 underlying ssh argument | -L | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/remote-development.md". https://zed.dev/docs/remote-development.md Role: primary. Accessed: 2026-11-19T13:44:28Z Quote: ""port_forwards": [{ "local_port": 8080, "remote_port": 80 }]" (Supports: config key, local port, remote port) Quote: ""local_host": "0.0.0.0"" (Supports: local_host option) Quote: ""remote_host": "docker-host"" (Supports: remote_host option) Quote: "Under the hood this uses the `-L` argument to ssh." (Supports: underlying ssh argument) Snapshot SHA-256: bb7f2febd3633082e5120b3dd7c09863dc3d45a6ff60c48e01a457fe0de62f90 (captured 2026-11-13T04:05:55Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:05:58Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:44:28Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:44:28Z Last attempt: 2026-11-19T13:44:28Z Notes and limitations: Extracted automatically from a single official source (section "Port forwarding"). Human-readable page: https://zed.dev/docs/remote-development.html Related: https://latestn.com/tool/zed/settings/rust-inlay-hints-config How do I change the inlay hint settings for rust-analyzer in Zed? https://latestn.com/tool/zed/settings/rust-target-directory How do I set the rust-analyzer target directory in Zed? https://latestn.com/tool/zed/settings/scrollbar-minimap-settings How do I customize the Zed editor scrollbar and minimap? https://latestn.com/tool/zed/settings/proto-formatting How do I enable formatting for Proto files in Zed? https://latestn.com/tool/zed/settings/proto-lsp-configuration How do I configure which language server Zed uses for Proto files? https://latestn.com/tool/zed/settings/python-formatting-linting How do I set up code formatting and linting for Python in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:05:58Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/remote-development-port-forwarding/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/remote-development-port-forwarding POST: https://latestn.com/dispute/tool/zed/settings/remote-development-port-forwarding with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/remote-development-port-forwarding?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure port forwarding in Zed remote development? Revision 1, last verified 2026-11-19T13:44:28Z. https://latestn.com/tool/zed/settings/remote-development-port-forwarding (accessed 2026-11-21T09:59:34Z). @misc{LatestN_tool_zed_settings_remote_development_port_forwarding_r1, title = {How do I configure port forwarding in Zed remote development?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/remote-development-port-forwarding}}, note = {Revision 1; digest sha256:c80040e4eb4959a4; last verified 2026-11-19T13:44:28Z; accessed 2026-11-21T09:59:34Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/remote-development-port-forwarding